From 4546f6d7d3596750f24700afef60ebcde3dba414 Mon Sep 17 00:00:00 2001 From: Gleb Kozyrev Date: Sun, 1 Feb 2015 14:40:00 +0200 Subject: [PATCH] Derive Debug instead of deprecated Show --- src/ssl/error.rs | 4 ++-- 1 file 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 {