File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ impl Pair {
176
176
core:: mem:: swap ( & mut rare1, & mut rare2) ;
177
177
core:: mem:: swap ( & mut index1, & mut index2) ;
178
178
}
179
- let max = usize:: from ( core :: u8:: MAX ) ;
179
+ let max = usize:: from ( u8:: MAX ) ;
180
180
for ( i, & b) in needle. iter ( ) . enumerate ( ) . take ( max) . skip ( 2 ) {
181
181
if ranker. rank ( b) < ranker. rank ( rare1) {
182
182
rare2 = rare1;
Original file line number Diff line number Diff line change @@ -915,7 +915,7 @@ impl PrefilterState {
915
915
// `skipped` to overflow a `u32`. (And we use a `u32` to reduce the
916
916
// size of a prefilter state.)
917
917
self . skipped = match u32:: try_from ( skipped) {
918
- Err ( _) => core :: u32:: MAX ,
918
+ Err ( _) => u32:: MAX ,
919
919
Ok ( skipped) => self . skipped . saturating_add ( skipped) ,
920
920
} ;
921
921
}
You can’t perform that action at this time.
0 commit comments