Skip to content

Commit

Permalink
address clippy issue from 1.73.0
Browse files Browse the repository at this point in the history
  • Loading branch information
demoray committed Oct 5, 2023
1 parent 52481fe commit 14e5c49
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 14e5c49

Please sign in to comment.