diff options
| author | Steven Fackler <[email protected]> | 2014-04-05 19:03:29 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-04-05 19:03:29 -0700 |
| commit | e8b7975084a27f3854ec96ff2d957a7697469fbf (patch) | |
| tree | 1dfd9239937e09ddca38b1281cdf30d1ce86867b /ssl/mod.rs | |
| parent | Update for visibility reform (diff) | |
| download | rust-openssl-e8b7975084a27f3854ec96ff2d957a7697469fbf.tar.xz rust-openssl-e8b7975084a27f3854ec96ff2d957a7697469fbf.zip | |
Remove use of {:?}
Diffstat (limited to 'ssl/mod.rs')
| -rw-r--r-- | ssl/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,7 +165,7 @@ impl SslContext { pub fn new(method: SslMethod) -> SslContext { match SslContext::try_new(method) { Ok(ctx) => ctx, - Err(err) => fail!("Error creating SSL context: {:?}", err) + Err(err) => fail!("Error creating SSL context: {}", err) } } @@ -490,7 +490,7 @@ impl<S: Stream> SslStream<S> { pub fn new(ctx: &SslContext, stream: S) -> SslStream<S> { match SslStream::try_new(ctx, stream) { Ok(stream) => stream, - Err(err) => fail!("Error creating SSL stream: {:?}", err) + Err(err) => fail!("Error creating SSL stream: {}", err) } } |