@@ -450,7 +450,7 @@ fn prev_power_of_two(n: usize) -> usize {
450450 // Only way this shift can underflow is if n is less than 4.
451451 // (Which would means `usize::MAX >> 64` and underflowed!)
452452 debug_assert ! ( n >= 4 ) ;
453- ( :: std :: usize:: MAX >> ( n. leading_zeros ( ) + 2 ) ) + 1
453+ ( usize:: MAX >> ( n. leading_zeros ( ) + 2 ) ) + 1
454454}
455455
456456impl Default for ReadStrategy {
@@ -763,7 +763,7 @@ mod tests {
763763 assert_eq ! ( strategy. next( ) , 32768 ) ;
764764
765765 // Enormous records still increment at same rate
766- strategy. record ( :: std :: usize:: MAX ) ;
766+ strategy. record ( usize:: MAX ) ;
767767 assert_eq ! ( strategy. next( ) , 65536 ) ;
768768
769769 let max = strategy. max ( ) ;
@@ -833,7 +833,7 @@ mod tests {
833833 fn fuzz ( max : usize ) {
834834 let mut strategy = ReadStrategy :: with_max ( max) ;
835835 while strategy. next ( ) < max {
836- strategy. record ( :: std :: usize:: MAX ) ;
836+ strategy. record ( usize:: MAX ) ;
837837 }
838838 let mut next = strategy. next ( ) ;
839839 while next > 8192 {
@@ -854,7 +854,7 @@ mod tests {
854854 fuzz ( max) ;
855855 max = ( max / 2 ) . saturating_mul ( 3 ) ;
856856 }
857- fuzz ( :: std :: usize:: MAX ) ;
857+ fuzz ( usize:: MAX ) ;
858858 }
859859
860860 #[ test]
0 commit comments