@@ -142,7 +142,7 @@ impl State {
142
142
repeat_ctx_id : usize:: MAX ,
143
143
count : -1 ,
144
144
} ;
145
- _match ( & req, self , ctx)
145
+ _match ( req, self , ctx)
146
146
}
147
147
148
148
pub fn search < S : StrDrive > ( & mut self , mut req : Request < S > ) -> bool {
@@ -1400,16 +1400,16 @@ fn _count<S: StrDrive>(
1400
1400
}
1401
1401
}
1402
1402
SreOpcode :: LITERAL => {
1403
- general_count_literal ( req, & mut ctx, end, |code, c| code == c as u32 ) ;
1403
+ general_count_literal ( req, & mut ctx, end, |code, c| code == c) ;
1404
1404
}
1405
1405
SreOpcode :: NOT_LITERAL => {
1406
- general_count_literal ( req, & mut ctx, end, |code, c| code != c as u32 ) ;
1406
+ general_count_literal ( req, & mut ctx, end, |code, c| code != c) ;
1407
1407
}
1408
1408
SreOpcode :: LITERAL_IGNORE => {
1409
- general_count_literal ( req, & mut ctx, end, |code, c| code == lower_ascii ( c) as u32 ) ;
1409
+ general_count_literal ( req, & mut ctx, end, |code, c| code == lower_ascii ( c) ) ;
1410
1410
}
1411
1411
SreOpcode :: NOT_LITERAL_IGNORE => {
1412
- general_count_literal ( req, & mut ctx, end, |code, c| code != lower_ascii ( c) as u32 ) ;
1412
+ general_count_literal ( req, & mut ctx, end, |code, c| code != lower_ascii ( c) ) ;
1413
1413
}
1414
1414
SreOpcode :: LITERAL_LOC_IGNORE => {
1415
1415
general_count_literal ( req, & mut ctx, end, char_loc_ignore) ;
@@ -1419,12 +1419,12 @@ fn _count<S: StrDrive>(
1419
1419
}
1420
1420
SreOpcode :: LITERAL_UNI_IGNORE => {
1421
1421
general_count_literal ( req, & mut ctx, end, |code, c| {
1422
- code == lower_unicode ( c) as u32
1422
+ code == lower_unicode ( c)
1423
1423
} ) ;
1424
1424
}
1425
1425
SreOpcode :: NOT_LITERAL_UNI_IGNORE => {
1426
1426
general_count_literal ( req, & mut ctx, end, |code, c| {
1427
- code != lower_unicode ( c) as u32
1427
+ code != lower_unicode ( c)
1428
1428
} ) ;
1429
1429
}
1430
1430
_ => {
0 commit comments