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 (#7022)
  • Loading branch information
rluvaton authored Jan 27, 2025
1 parent 15249bf commit a28f4ef
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 a28f4ef

Please sign in to comment.