Skip to content

Commit

Permalink
docs: add to bit slice iterator docs that the start value is inclusiv…
Browse files Browse the repository at this point in the history
…e and end value is exclusive
  • Loading branch information
rluvaton committed Jan 25, 2025
1 parent af777cd commit 09d2cb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arrow-buffer/src/util/bit_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ impl DoubleEndedIterator for BitIterator<'_> {
/// Returns `(usize, usize)` each representing an interval where the corresponding
/// bits in the provides mask are set
///
/// the first value is the start of the range (inclusive) and the second value is the end of the range (exclusive)
///
#[derive(Debug)]
pub struct BitSliceIterator<'a> {
iter: UnalignedBitChunkIterator<'a>,
Expand Down

0 comments on commit 09d2cb3

Please sign in to comment.