Skip to content

Commit 1180729

Browse files
committed
use
Signed-off-by: Alexander Droste <[email protected]>
1 parent 1de7544 commit 1180729

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vortex-buffer/src/bit/buf.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
use std::ops::{BitAnd, BitOr, BitXor, Not, RangeBounds};
4+
use std::ops::{BitAnd, BitOr, BitXor, Not, Range, RangeBounds};
55

66
use crate::bit::ops::{bitwise_binary_op, bitwise_unary_op};
77
use crate::bit::{
@@ -418,7 +418,7 @@ impl BitBuffer {
418418
///
419419
/// Panics if the range is outside valid bounds of the buffer.
420420
#[inline]
421-
pub fn iter_bits<F>(&self, range: std::ops::Range<usize>, mut f: F)
421+
pub fn iter_bits<F>(&self, range: Range<usize>, mut f: F)
422422
where
423423
F: FnMut(usize, bool),
424424
{
@@ -462,14 +462,14 @@ impl BitBuffer {
462462
///
463463
/// # Arguments
464464
///
465-
/// * `range` - Bit range to iterate through in reverse (start inclusive, end exclusive)
465+
/// * `range` - Bit range to iterate through in reverse
466466
/// * `f` - Callback function taking (bit_index, is_set)
467467
///
468468
/// # Panics
469469
///
470470
/// Panics if the range is outside valid bounds of the buffer.
471471
#[inline]
472-
pub fn iter_bits_reverse<F>(&self, range: std::ops::Range<usize>, mut f: F)
472+
pub fn iter_bits_reverse<F>(&self, range: Range<usize>, mut f: F)
473473
where
474474
F: FnMut(usize, bool),
475475
{

0 commit comments

Comments
 (0)