@@ -433,7 +433,7 @@ where
433433 }
434434
435435 /// Return an iterator over the indexes of all non-empty actions of `stidx`.
436- pub fn state_actions ( & self , stidx : StIdx < StorageT > ) -> StateActionsIterator < StorageT > {
436+ pub fn state_actions ( & self , stidx : StIdx < StorageT > ) -> StateActionsIterator < ' _ , StorageT > {
437437 let start = usize:: from ( stidx) * usize:: from ( self . tokens_len ) ;
438438 let end = start + usize:: from ( self . tokens_len ) ;
439439 StateActionsIterator {
@@ -445,7 +445,7 @@ where
445445
446446 /// Return an iterator over the indexes of all shift actions of `stidx`. By definition this
447447 /// is a subset of the indexes produced by [`state_actions`](#method.state_actions).
448- pub fn state_shifts ( & self , stidx : StIdx < StorageT > ) -> StateActionsIterator < StorageT > {
448+ pub fn state_shifts ( & self , stidx : StIdx < StorageT > ) -> StateActionsIterator < ' _ , StorageT > {
449449 let start = usize:: from ( stidx) * usize:: from ( self . tokens_len ) ;
450450 let end = start + usize:: from ( self . tokens_len ) ;
451451 StateActionsIterator {
@@ -476,7 +476,7 @@ where
476476 /// And: [F -> c., $]
477477 ///
478478 /// since the two [E -> ...] items both have the same effects on a parse stack.
479- pub fn core_reduces ( & self , stidx : StIdx < StorageT > ) -> CoreReducesIterator < StorageT > {
479+ pub fn core_reduces ( & self , stidx : StIdx < StorageT > ) -> CoreReducesIterator < ' _ , StorageT > {
480480 let start = usize:: from ( stidx) * usize:: from ( self . prods_len ) ;
481481 let end = start + usize:: from ( self . prods_len ) ;
482482 CoreReducesIterator {
0 commit comments