diff options
| author | Steven Fackler <[email protected]> | 2017-07-15 21:46:11 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-07-15 21:46:11 -0700 |
| commit | bcd0dcafcba31b7239faf1d582871f8fa83d69e9 (patch) | |
| tree | f090be453d289f0f17ca4f6a3f458881e6f7091a /openssl/src/error.rs | |
| parent | Init before creating ex indexes (diff) | |
| download | rust-openssl-bcd0dcafcba31b7239faf1d582871f8fa83d69e9.tar.xz rust-openssl-bcd0dcafcba31b7239faf1d582871f8fa83d69e9.zip | |
Rustfmt
Diffstat (limited to 'openssl/src/error.rs')
| -rw-r--r-- | openssl/src/error.rs | 8 |
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("") + ) } } |