You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Noticed while working on #1230 .
The document of MutableArrayData::extend contains a weird value len which is not a parameter of this function.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Replace len by end - start in the document, or change the function's API
Additional context
/// Extends this [MutableArrayData] with elements from the bounded [ArrayData] at `start`/// and for a size of `len`./// # Panic/// This function panics if the range is out of bounds, i.e. if `start + len >= array.len()`.pubfnextend(&mutself,index:usize,start:usize,end:usize){let len = end - start;(self.extend_null_bits[index])(&mutself.data, start, len);(self.extend_values[index])(&mutself.data, index, start, len);self.data.len += len;}
The text was updated successfully, but these errors were encountered:
Describe the bug
Noticed while working on #1230 .
The document of
MutableArrayData::extend
contains a weird valuelen
which is not a parameter of this function.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Replace
len
byend - start
in the document, or change the function's APIAdditional context
The text was updated successfully, but these errors were encountered: