diff options
| author | Steven Fackler <[email protected]> | 2014-02-24 21:06:54 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-02-24 21:06:54 -0800 |
| commit | c3cf00ea10efdc922dd7215575fd390c2bfe54c6 (patch) | |
| tree | fa2089e45acb498e23fd8ccd58d3dc9e81f00c6e | |
| parent | Stop complaining about FFI type names (diff) | |
| download | rust-openssl-c3cf00ea10efdc922dd7215575fd390c2bfe54c6.tar.xz rust-openssl-c3cf00ea10efdc922dd7215575fd390c2bfe54c6.zip | |
Remove deriving(ToStr)
| -rw-r--r-- | ssl/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/error.rs b/ssl/error.rs index 91e879c8..296812c3 100644 --- a/ssl/error.rs +++ b/ssl/error.rs @@ -4,7 +4,7 @@ use std::io::IoError; use ssl::ffi; /// An SSL error -#[deriving(ToStr)] +#[deriving(Show)] pub enum SslError { /// The underlying stream has reported an error StreamError(IoError), @@ -15,7 +15,7 @@ pub enum SslError { } /// An error from the OpenSSL library -#[deriving(ToStr)] +#[deriving(Show)] pub enum OpensslError { /// An unknown error UnknownError { |