aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGleb Kozyrev <[email protected]>2015-02-01 14:40:00 +0200
committerGleb Kozyrev <[email protected]>2015-02-01 14:40:00 +0200
commit4546f6d7d3596750f24700afef60ebcde3dba414 (patch)
treedea70e6f586caa0c6de09078d4da1154c7a384cc /src
parentFix for stability changes (diff)
downloadrust-openssl-4546f6d7d3596750f24700afef60ebcde3dba414.tar.xz
rust-openssl-4546f6d7d3596750f24700afef60ebcde3dba414.zip
Derive Debug instead of deprecated Show
Diffstat (limited to 'src')
-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 {