@@ -450,7 +450,7 @@ fn prev_power_of_two(n: usize) -> usize {
450
450
// Only way this shift can underflow is if n is less than 4.
451
451
// (Which would means `usize::MAX >> 64` and underflowed!)
452
452
debug_assert ! ( n >= 4 ) ;
453
- ( :: std :: usize:: MAX >> ( n. leading_zeros ( ) + 2 ) ) + 1
453
+ ( usize:: MAX >> ( n. leading_zeros ( ) + 2 ) ) + 1
454
454
}
455
455
456
456
impl Default for ReadStrategy {
@@ -763,7 +763,7 @@ mod tests {
763
763
assert_eq ! ( strategy. next( ) , 32768 ) ;
764
764
765
765
// Enormous records still increment at same rate
766
- strategy. record ( :: std :: usize:: MAX ) ;
766
+ strategy. record ( usize:: MAX ) ;
767
767
assert_eq ! ( strategy. next( ) , 65536 ) ;
768
768
769
769
let max = strategy. max ( ) ;
@@ -833,7 +833,7 @@ mod tests {
833
833
fn fuzz ( max : usize ) {
834
834
let mut strategy = ReadStrategy :: with_max ( max) ;
835
835
while strategy. next ( ) < max {
836
- strategy. record ( :: std :: usize:: MAX ) ;
836
+ strategy. record ( usize:: MAX ) ;
837
837
}
838
838
let mut next = strategy. next ( ) ;
839
839
while next > 8192 {
@@ -854,7 +854,7 @@ mod tests {
854
854
fuzz ( max) ;
855
855
max = ( max / 2 ) . saturating_mul ( 3 ) ;
856
856
}
857
- fuzz ( :: std :: usize:: MAX ) ;
857
+ fuzz ( usize:: MAX ) ;
858
858
}
859
859
860
860
#[ test]
0 commit comments