commit | 6966b8475169f4db243884194ed227491f24e1e9 | [log] [tgz] |
---|---|---|
author | Charisee <chiw@google.com> | Fri Jun 24 23:00:39 2022 +0000 |
committer | Charisee Chiw <chiw@google.com> | Mon Jun 27 20:35:31 2022 +0000 |
tree | 5d34faf57338e4392c7b9b1d574ee42c805ddea8 | |
parent | c44495dd9592b124faebc74edec8b3bb0aaca3c5 [diff] |
Update for Rust v1.62.0 Remove unused Lifetime See https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes Test: Ran test_compiler.py Bug: 236723597 Change-Id: I93557904e35930e6ea308bfab4cdefdf0932b45a
diff --git a/authfs/src/fusefs.rs b/authfs/src/fusefs.rs index beb6b30..cfb53ca 100644 --- a/authfs/src/fusefs.rs +++ b/authfs/src/fusefs.rs
@@ -149,7 +149,7 @@ prev_offset: usize, } -impl<'a> DirectoryIterator for DirEntriesSnapshotIterator { +impl DirectoryIterator for DirEntriesSnapshotIterator { fn next(&mut self) -> Option<DirEntry> { // This iterator should not be the only reference to the snapshot. The snapshot should // still be hold in `dir_handle_table`, i.e. when the FD is not yet closed.