@@ -89,7 +89,7 @@ pub struct PriorityIterator<'w, E: PriorityEvent> {
8989 events : & ' w mut PriorityEvents < E > ,
9090}
9191
92- impl < ' w , E : PriorityEvent > Iterator for PriorityIterator < ' w , E > {
92+ impl < E : PriorityEvent > Iterator for PriorityIterator < ' _ , E > {
9393 type Item = E ;
9494
9595 fn next ( & mut self ) -> Option < Self :: Item > {
@@ -108,7 +108,7 @@ impl<'w, E: PriorityEvent> Iterator for PriorityIterator<'w, E> {
108108 }
109109}
110110
111- impl < ' s , E : PriorityEvent > PriorityEventReader < ' _ , ' s , E > {
111+ impl < E : PriorityEvent > PriorityEventReader < ' _ , ' _ , E > {
112112 /// Iterates over events this reader has not seen yet, while also clearing them.
113113 /// Will not remove any events of priority lower than min (0 is highest, inf is lowest)
114114 /// but will discard events of higher priority
@@ -140,7 +140,7 @@ pub struct PriorityEventWriter<'w, 's, E: PriorityEvent> {
140140 marker : PhantomData < & ' s usize > ,
141141}
142142
143- impl < ' w , ' s , E : PriorityEvent > PriorityEventWriter < ' w , ' s , E > {
143+ impl < E : PriorityEvent > PriorityEventWriter < ' _ , ' _ , E > {
144144 pub fn send ( & mut self , event : E , prio : u32 ) {
145145 self . events . events . push ( EventInstance :: new ( event, prio) ) ;
146146 }
0 commit comments