diff options
| author | Alejandro Soto <alejandro@34project.org> | 2021-12-24 04:36:58 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2021-12-24 04:36:58 -0600 |
| commit | 5afc15edaa593bdf7dd2ae7c542980d9d70b8321 (patch) | |
| tree | 272886fe55b5ee2ca4b22415621b56aae718eaf0 /src | |
| parent | 7f3c0f5b69e76de03417c84d3d217c0bf866e5ec (diff) | |
Migrate to 2021 edition
Diffstat (limited to 'src')
| -rw-r--r-- | src/fuse/ops.rs | 2 | ||||
| -rw-r--r-- | src/proto.rs | 2 | ||||
| -rw-r--r-- | src/util.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/fuse/ops.rs b/src/fuse/ops.rs index 7a0c18c..bfbc70a 100644 --- a/src/fuse/ops.rs +++ b/src/fuse/ops.rs @@ -11,7 +11,7 @@ use std::{ use crate::{proto, util::OutputChain, Errno, Ino, TimeToLive}; use super::{ - fs::{Fuse, Inode, Tape}, + fs::{Fuse, Inode}, io::{AccessFlags, Entry, EntryType, FsInfo}, session, Done, Operation, Reply, Request, }; diff --git a/src/proto.rs b/src/proto.rs index c6b9925..9816922 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -655,7 +655,7 @@ impl Request<'_> { self.header } - pub fn body(&self) -> &RequestBody { + pub fn body(&self) -> &RequestBody<'_> { &self.body } } diff --git a/src/util.rs b/src/util.rs index 7263738..5185efd 100644 --- a/src/util.rs +++ b/src/util.rs @@ -65,7 +65,7 @@ impl<'a> OutputChain<'a> { } } - pub fn iter(&self) -> OutputChainIter { + pub fn iter(&self) -> OutputChainIter<'_> { OutputChainIter(Some(&self)) } } |
