summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/fuse/ops.rs2
-rw-r--r--src/proto.rs2
-rw-r--r--src/util.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 833af82..63972a5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
name = "blown-fuse"
version = "0.1.0"
authors = ["Alejandro Soto <alejandro@34project.org>"]
-edition = "2018"
+edition = "2021"
description = "Filesystem in Userspace"
[features]
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))
}
}