Skip to content

Commit 52e6522

Browse files
wllenyjbergwolf
authored andcommitted
fix clippy warning
``` error: this lifetime isn't used in the impl --> src/passthrough/mod.rs:139:6 | 139| impl<'a> InodeData { | ^^ | = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes ``` Signed-off-by: wllenyj <[email protected]>
1 parent 2489e6f commit 52e6522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/passthrough/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn is_safe_inode(mode: u32) -> bool {
136136
matches!(mode & libc::S_IFMT, libc::S_IFREG | libc::S_IFDIR)
137137
}
138138

139-
impl<'a> InodeData {
139+
impl InodeData {
140140
fn new(inode: Inode, f: FileOrHandle, refcount: u64, altkey: InodeAltKey, mode: u32) -> Self {
141141
InodeData {
142142
inode,

0 commit comments

Comments
 (0)