mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 04:27:45 +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 {
|
impl UError for UIoError {}
|
||||||
fn code(&self) -> i32 {
|
|
||||||
1
|
|
||||||
}
|
|
||||||
|
|
||||||
fn usage(&self) -> bool {
|
|
||||||
false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl Error for UIoError {}
|
impl Error for UIoError {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue