mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
uucore: use default UError impl for UIoError
This commit is contained in:
@@ -367,15 +367,7 @@ impl UIoError {
|
||||
}
|
||||
}
|
||||
|
||||
impl UError for UIoError {
|
||||
fn code(&self) -> i32 {
|
||||
1
|
||||
}
|
||||
|
||||
fn usage(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
impl UError for UIoError {}
|
||||
|
||||
impl Error for UIoError {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user