about summary refs log tree commit diff
path: root/tvix/store/src/fs/file_attr.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-12T17·33+0200
committerflokli <flokli@flokli.de>2023-10-16T10·45+0000
commit869be82e092a1a09b7fd55cef12c863bd1fdfd7b (patch)
tree01be306e213471e051d55dade68799b3a12b45bb /tvix/store/src/fs/file_attr.rs
parent2133929fbf1a6f8571fde76318d9874d1187f2e1 (diff)
refactor(tvix/store/fs): clippy r/6823
Change-Id: I11247e24475f0e49dc22f2d10bf3e1e276737899
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9709
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/fs/file_attr.rs')
-rw-r--r--tvix/store/src/fs/file_attr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/store/src/fs/file_attr.rs b/tvix/store/src/fs/file_attr.rs
index 562cd9f19002..ad41f036a253 100644
--- a/tvix/store/src/fs/file_attr.rs
+++ b/tvix/store/src/fs/file_attr.rs
@@ -1,3 +1,4 @@
+#![allow(clippy::unnecessary_cast)] // libc::S_IFDIR is u32 on Linux and u16 on MacOS
 use super::inodes::{DirectoryInodeData, InodeData};
 use fuse_backend_rs::abi::fuse_abi::Attr;