Browse Source

Fix Error new function typo.

cmd
Marco Satti 7 years ago
parent
commit
1067a72539
  1. 2
      src/lib.rs

2
src/lib.rs

@ -122,7 +122,7 @@ pub struct Error {
impl Error {
fn new(kind: ErrorKind, message: &str) -> Error {
Error { kind, message: message.to_owned() }
Error { kind: kind, message: message.to_owned() }
}
}

Loading…
Cancel
Save