diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-28 08:34:18 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-29 07:49:02 -0500 |
| commit | 788181d4055747b5307f186a873ab5d2acd29994 (patch) | |
| tree | 9b96bbdba0acfccaa447f312c07381425776ca80 /src/rustbook | |
| parent | 09ba9f5c87a24f82d9a332fdb913511eedf5a4ec (diff) | |
s/Show/Debug/g
Diffstat (limited to 'src/rustbook')
| -rw-r--r-- | src/rustbook/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<E> { fn from_err(err: E) -> Self; } -impl Show for Box<Error + 'static> { +impl Debug for Box<Error + 'static> { fn fmt(&self, f: &mut Formatter) -> fmt::Result { write!(f, "{}", self.description()) } |
