Skip to content

Commit 401a9fe

Browse files
committed
fix(parse_size): Allow dead_code for NotFound variant
1 parent cb4cc06 commit 401a9fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uucore/src/lib/features/parser/parse_size.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ use procfs::{Current, Meminfo};
1818
enum SystemError {
1919
IOError,
2020
ParseError,
21+
#[allow(dead_code)]
2122
NotFound,
2223
}
2324

0 commit comments

Comments
 (0)