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:
parent
bc11211f6c
commit
6c47989186
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue