Remove deriving(ToStr)

This commit is contained in:
Steven Fackler 2014-02-24 21:06:54 -08:00
parent 13e7cdbc4e
commit c3cf00ea10
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ use std::io::IoError;
use ssl::ffi; use ssl::ffi;
/// An SSL error /// An SSL error
#[deriving(ToStr)] #[deriving(Show)]
pub enum SslError { pub enum SslError {
/// The underlying stream has reported an error /// The underlying stream has reported an error
StreamError(IoError), StreamError(IoError),
@ -15,7 +15,7 @@ pub enum SslError {
} }
/// An error from the OpenSSL library /// An error from the OpenSSL library
#[deriving(ToStr)] #[deriving(Show)]
pub enum OpensslError { pub enum OpensslError {
/// An unknown error /// An unknown error
UnknownError { UnknownError {