diff options
| author | Steven Fackler <[email protected]> | 2015-02-01 08:36:37 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-02-01 08:36:37 -0800 |
| commit | 94ff4cc7ae830807c002cf71e71797145bc1ea45 (patch) | |
| tree | e3e9cad5518263e9c167bc41b18e4cb97ace88e8 | |
| parent | Merge pull request #151 from gkoz/std_stability_warns (diff) | |
| parent | Derive Debug instead of deprecated Show (diff) | |
| download | rust-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.rs | 4 |
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 { |