aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2015-02-01 08:36:37 -0800
committerSteven Fackler <[email protected]>2015-02-01 08:36:37 -0800
commit94ff4cc7ae830807c002cf71e71797145bc1ea45 (patch)
treee3e9cad5518263e9c167bc41b18e4cb97ace88e8
parentMerge pull request #151 from gkoz/std_stability_warns (diff)
parentDerive Debug instead of deprecated Show (diff)
downloadrust-openssl-94ff4cc7ae830807c002cf71e71797145bc1ea45.tar.xz
rust-openssl-94ff4cc7ae830807c002cf71e71797145bc1ea45.zip
Merge pull request #150 from gkoz/show_debug
Derive Debug instead of deprecated Show
-rw-r--r--src/ssl/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/error.rs b/src/ssl/error.rs
index 2aa77fb0..027554c5 100644
--- a/src/ssl/error.rs
+++ b/src/ssl/error.rs
@@ -10,7 +10,7 @@ use std::old_io::IoError;
use ffi;
/// An SSL error
-#[derive(Show, Clone, PartialEq, Eq)]
+#[derive(Debug, Clone, PartialEq, Eq)]
pub enum SslError {
/// The underlying stream reported an error
StreamError(IoError),
@@ -44,7 +44,7 @@ impl error::Error for SslError {
}
/// An error from the OpenSSL library
-#[derive(Show, Clone, PartialEq, Eq)]
+#[derive(Debug, Clone, PartialEq, Eq)]
pub enum OpensslError {
/// An unknown error
UnknownError {