@@ -1169,7 +1169,7 @@ impl<S: StateID> Imp<S> {
11691169///
11701170/// The lifetime `'b` refers to the lifetime of the haystack being searched.
11711171#[ derive( Debug ) ]
1172- pub struct FindIter < ' a , ' b , S : ' a + StateID > {
1172+ pub struct FindIter < ' a , ' b , S : StateID > {
11731173 fsm : & ' a Imp < S > ,
11741174 prestate : PrefilterState ,
11751175 haystack : & ' b [ u8 ] ,
@@ -1226,7 +1226,7 @@ impl<'a, 'b, S: StateID> Iterator for FindIter<'a, 'b, S> {
12261226///
12271227/// The lifetime `'b` refers to the lifetime of the haystack being searched.
12281228#[ derive( Debug ) ]
1229- pub struct FindOverlappingIter < ' a , ' b , S : ' a + StateID > {
1229+ pub struct FindOverlappingIter < ' a , ' b , S : StateID > {
12301230 fsm : & ' a Imp < S > ,
12311231 prestate : PrefilterState ,
12321232 haystack : & ' b [ u8 ] ,
@@ -1297,7 +1297,7 @@ impl<'a, 'b, S: StateID> Iterator for FindOverlappingIter<'a, 'b, S> {
12971297///
12981298/// The lifetime `'a` refers to the lifetime of the `AhoCorasick` automaton.
12991299#[ derive( Debug ) ]
1300- pub struct StreamFindIter < ' a , R , S : ' a + StateID > {
1300+ pub struct StreamFindIter < ' a , R , S : StateID > {
13011301 it : StreamChunkIter < ' a , R , S > ,
13021302}
13031303
@@ -1332,7 +1332,7 @@ impl<'a, R: io::Read, S: StateID> Iterator for StreamFindIter<'a, R, S> {
13321332/// N.B. This does not actually implement Iterator because we need to borrow
13331333/// from the underlying reader. But conceptually, it's still an iterator.
13341334#[ derive( Debug ) ]
1335- struct StreamChunkIter < ' a , R , S : ' a + StateID > {
1335+ struct StreamChunkIter < ' a , R , S : StateID > {
13361336 /// The AC automaton.
13371337 fsm : & ' a Imp < S > ,
13381338 /// State associated with this automaton's prefilter. It is a heuristic
0 commit comments