We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d53a00 commit 8b56ef5Copy full SHA for 8b56ef5
src/utils/disk_usage.rs
@@ -38,7 +38,7 @@ fn current_mount() -> Fallible<Filesystem> {
38
let system = System::new();
39
40
let mut found = None;
41
- let mut found_pos = std::usize::MAX;
+ let mut found_pos = usize::MAX;
42
for mount in system.mounts()?.into_iter() {
43
let path = Path::new(&mount.fs_mounted_on);
44
for (i, ancestor) in current_dir.ancestors().enumerate() {
0 commit comments