Skip to content

Commit 8b56ef5

Browse files
appease lint about rust 2015-era code
1 parent 6d53a00 commit 8b56ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/disk_usage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn current_mount() -> Fallible<Filesystem> {
3838
let system = System::new();
3939

4040
let mut found = None;
41-
let mut found_pos = std::usize::MAX;
41+
let mut found_pos = usize::MAX;
4242
for mount in system.mounts()?.into_iter() {
4343
let path = Path::new(&mount.fs_mounted_on);
4444
for (i, ancestor) in current_dir.ancestors().enumerate() {

0 commit comments

Comments
 (0)