summaryrefslogtreecommitdiff
path: root/openssl/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/src/error.rs')
-rw-r--r--openssl/src/error.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/openssl/src/error.rs b/openssl/src/error.rs
index ad1793f3..8612a996 100644
--- a/openssl/src/error.rs
+++ b/openssl/src/error.rs
@@ -210,7 +210,13 @@ impl fmt::Display for Error {
Some(r) => try!(write!(fmt, ":{}", r)),
None => try!(write!(fmt, ":reason({})", ffi::ERR_GET_FUNC(self.code()))),
}
- write!(fmt, ":{}:{}:{}", self.file(), self.line(), self.data().unwrap_or(""))
+ write!(
+ fmt,
+ ":{}:{}:{}",
+ self.file(),
+ self.line(),
+ self.data().unwrap_or("")
+ )
}
}