]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_data_structures/src/vec_linked_list.rs
Apply clippy suggestions
[rust.git] / compiler / rustc_data_structures / src / vec_linked_list.rs
index 1cf030d852e9fc8153388b6897a55da453bccf02..ce60d40b24b44e1087a5428c02d214c0379f8e89 100644 (file)
@@ -2,8 +2,8 @@
 
 pub fn iter<Ls>(
     first: Option<Ls::LinkIndex>,
-    links: &'a Ls,
-) -> impl Iterator<Item = Ls::LinkIndex> + 'a
+    links: &Ls,
+) -> impl Iterator<Item = Ls::LinkIndex> + '_
 where
     Ls: Links,
 {