Skip to content

Commit

Permalink
address clippy issue from 1.73.0 (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
demoray authored Oct 10, 2023
1 parent 52481fe commit cce2819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/disk_usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fn disk_usage(path: &Path) -> Result<DiskUsage> {
unsafe {
let ret = libc::statfs64(cstr.as_ptr(), &mut statfs);
if ret < 0 {
return Err(Error::Disk(std::io::Error::last_os_error()))?;
Err(Error::Disk(std::io::Error::last_os_error()))?;
}
}

Expand Down

0 comments on commit cce2819

Please sign in to comment.