This commit is contained in:
bjorn3
2025-03-09 17:47:42 +01:00
parent 023459391c
commit 576136d01c
18 changed files with 216 additions and 131 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
use std::convert;
use std::fmt;
use std::result;
use std::io::Error as IOError;
use std::result;
use syscall::error::Error as SyscallError;
#[derive(Debug)]
@@ -35,7 +35,7 @@ impl Error {
pub fn other_error<S: Into<String>>(descr: S) -> Error {
Error {
error_type: ErrorType::Other,
descr: descr.into()
descr: descr.into(),
}
}
}