mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
uucore: use default UError impl for UIoError
This commit is contained in:
parent
d12d4f760c
commit
ea3c15f0dd
1 changed files with 1 additions and 9 deletions
|
@ -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 {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue