Skip to content

Commit 24af748

Browse files
committed
try and silence clippy about useless conversion
1 parent 80b0063 commit 24af748

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/reverse_fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,7 @@ impl PathFilesystem for ReverseFs {
11821182
return Err(Errno::EROFS);
11831183
}
11841184
let (source, _) = self.resolve_source_path(&path)?;
1185+
#[allow(clippy::useless_conversion)]
11851186
if mode & u32::from(libc::S_IFMT) != u32::from(libc::S_IFREG) {
11861187
return Err(Errno::ENOSYS);
11871188
}

0 commit comments

Comments
 (0)