File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ impl Grid {
333333
334334 /// Iterate over edges.
335335 #[ must_use]
336- pub const fn edges ( & self ) -> EdgesIterator {
336+ pub const fn edges ( & self ) -> EdgesIterator < ' _ > {
337337 EdgesIterator {
338338 grid : self ,
339339 x : 0 ,
@@ -442,7 +442,7 @@ impl Grid {
442442
443443 /// Iterate over vertices.
444444 #[ must_use]
445- pub fn iter ( & self ) -> GridIterator {
445+ pub fn iter ( & self ) -> GridIterator < ' _ > {
446446 self . into_iter ( )
447447 }
448448
Original file line number Diff line number Diff line change @@ -640,12 +640,12 @@ impl<C> Matrix<C> {
640640 }
641641
642642 /// Return an iterator on values, first row first.
643- pub fn values ( & self ) -> Iter < C > {
643+ pub fn values ( & self ) -> Iter < ' _ , C > {
644644 self . data . iter ( )
645645 }
646646
647647 /// Return a mutable iterator on values, first row first.
648- pub fn values_mut ( & mut self ) -> IterMut < C > {
648+ pub fn values_mut ( & mut self ) -> IterMut < ' _ , C > {
649649 self . data . iter_mut ( )
650650 }
651651
You can’t perform that action at this time.
0 commit comments