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 0a9fc3e commit 9db3c1bCopy full SHA for 9db3c1b
1 file changed
src/uu/du/src/du.rs
@@ -752,16 +752,7 @@ enum DuError {
752
InvalidGlob(String),
753
}
754
755
-impl UError for DuError {
756
- fn code(&self) -> i32 {
757
- match self {
758
- Self::InvalidMaxDepthArg(_)
759
- | Self::SummarizeDepthConflict(_)
760
- | Self::InvalidTimeStyleArg(_)
761
- | Self::InvalidGlob(_) => 1,
762
- }
763
764
-}
+impl UError for DuError {}
765
766
/// Read a file and return each line in a vector of String
767
fn file_as_vec(filename: impl AsRef<Path>) -> Vec<String> {
0 commit comments