diff options
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs index b388cbb..323b609 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -52,7 +52,7 @@ impl From<IoError> for Error { impl fmt::Display for Error { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - try!(write!(f, "Docker Error: ")); + write!(f, "Docker Error: ")?; match self { &Error::Decoding(ref err) => return err.fmt(f), &Error::Encoding(ref err) => return err.fmt(f), |