diff options
Diffstat (limited to 'src/dir.rs')
-rw-r--r-- | src/dir.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -208,6 +208,8 @@ pub enum Type { impl Entry { /// Returns the inode number (`d_ino`) of the underlying `dirent`. #[allow(clippy::useless_conversion)] // Not useless on all OSes + // The cast is not unnecessary on all platforms. + #[allow(clippy::unnecessary_cast)] pub fn ino(&self) -> u64 { cfg_if! { if #[cfg(any(target_os = "android", |