Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
losynix authored and wfraser committed Sep 19, 2023
1 parent 830d1d7 commit 5455ac1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions example/src/passthrough.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ fn statfs_to_fuse(statfs: libc::statfs) -> Statfs {
#[cfg(target_os = "linux")]
fn statfs_to_fuse(statfs: libc::statfs) -> Statfs {
Statfs {
blocks: statfs.f_blocks as u64,
bfree: statfs.f_bfree as u64,
bavail: statfs.f_bavail as u64,
files: statfs.f_files as u64,
ffree: statfs.f_ffree as u64,
blocks: statfs.f_blocks,
bfree: statfs.f_bfree,
bavail: statfs.f_bavail,
files: statfs.f_files,
ffree: statfs.f_ffree,
bsize: statfs.f_bsize as u32,
namelen: statfs.f_namelen as u32,
frsize: statfs.f_frsize as u32,
Expand Down

0 comments on commit 5455ac1

Please sign in to comment.