uucore: use default UError impl for UIoError

This commit is contained in:
Terts Diepraam
2021-08-10 17:55:37 +02:00
parent d12d4f760c
commit ea3c15f0dd
+1 -9
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 {}