1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

clippy: fix warning from precedence lint

This commit is contained in:
Daniel Hofstetter 2025-02-21 07:21:01 +01:00
parent bc11211f6c
commit 6c47989186

View file

@ -814,7 +814,7 @@ impl FsMeta for StatFs {
fn fsid(&self) -> u64 {
let f_fsid: &[u32; 2] =
unsafe { &*(&self.f_fsid as *const nix::sys::statfs::fsid_t as *const [u32; 2]) };
(u64::from(f_fsid[0])) << 32 | u64::from(f_fsid[1])
((u64::from(f_fsid[0])) << 32) | u64::from(f_fsid[1])
}
#[cfg(not(any(
target_vendor = "apple",