1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

uucore: use default UError impl for UIoError

This commit is contained in:
Terts Diepraam 2021-08-10 17:00:16 +02:00
parent d12d4f760c
commit ea3c15f0dd

View file

@ -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 {}