File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ impl Statvfs {
2323 }
2424
2525 // NB: allow() because the block count type is u32 on macOS.
26- #[ allow( clippy:: useless_conversion) ]
26+ #[ allow( clippy:: useless_conversion, clippy :: unnecessary_fallible_conversions ) ]
2727 pub fn blocks ( & self ) -> u64 {
2828 match self {
2929 Statvfs :: Real ( stat) => u64:: try_from ( stat. blocks ( ) ) . unwrap ( ) ,
@@ -32,7 +32,7 @@ impl Statvfs {
3232 }
3333
3434 // NB: allow() because the block count type is u32 on macOS.
35- #[ allow( clippy:: useless_conversion) ]
35+ #[ allow( clippy:: useless_conversion, clippy :: unnecessary_fallible_conversions ) ]
3636 pub fn blocks_available ( & self ) -> u64 {
3737 match self {
3838 Statvfs :: Real ( stat) => u64:: try_from ( stat. blocks_available ( ) ) . unwrap ( ) ,
You can’t perform that action at this time.
0 commit comments