Commit 94ff4cc7 authored by Steven Fackler's avatar Steven Fackler
Browse files

Merge pull request #150 from gkoz/show_debug

Derive Debug instead of deprecated Show
parents 0638c8d7 4546f6d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 {