From 788181d4055747b5307f186a873ab5d2acd29994 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 28 Jan 2015 08:34:18 -0500 Subject: s/Show/Debug/g --- src/rustbook/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rustbook') diff --git a/src/rustbook/error.rs b/src/rustbook/error.rs index d4829a2c391..1c10a270acc 100644 --- a/src/rustbook/error.rs +++ b/src/rustbook/error.rs @@ -11,7 +11,7 @@ //! Error handling utilities. WIP. use std::fmt; -use std::fmt::{Show, Formatter}; +use std::fmt::{Debug, Formatter}; use std::old_io::IoError; @@ -32,7 +32,7 @@ pub trait FromError { fn from_err(err: E) -> Self; } -impl Show for Box { +impl Debug for Box { fn fmt(&self, f: &mut Formatter) -> fmt::Result { write!(f, "{}", self.description()) } -- cgit 1.4.1-3-g733a5