about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-01-28 08:34:18 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-01-29 07:49:02 -0500
commit788181d4055747b5307f186a873ab5d2acd29994 (patch)
tree9b96bbdba0acfccaa447f312c07381425776ca80 /src/liblog
parent09ba9f5c87a24f82d9a332fdb913511eedf5a4ec (diff)
downloadrust-788181d4055747b5307f186a873ab5d2acd29994.tar.gz
rust-788181d4055747b5307f186a873ab5d2acd29994.zip
s/Show/Debug/g
Diffstat (limited to 'src/liblog')
-rw-r--r--src/liblog/directive.rs2
-rw-r--r--src/liblog/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/liblog/directive.rs b/src/liblog/directive.rs
index 5efa799f562..edd93358bfa 100644
--- a/src/liblog/directive.rs
+++ b/src/liblog/directive.rs
@@ -11,7 +11,7 @@
 use std::ascii::AsciiExt;
 use std::cmp;
 
-#[derive(Show, Clone)]
+#[derive(Debug, Clone)]
 pub struct LogDirective {
     pub name: Option<String>,
     pub level: u32,
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index dfec2c18816..0e2ab008e13 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -243,7 +243,7 @@ struct DefaultLogger {
 }
 
 /// Wraps the log level with fmt implementations.
-#[derive(Copy, PartialEq, PartialOrd, Show)]
+#[derive(Copy, PartialEq, PartialOrd, Debug)]
 pub struct LogLevel(pub u32);
 
 impl fmt::Display for LogLevel {
@@ -330,7 +330,7 @@ pub fn set_logger(logger: Box<Logger + Send>) -> Option<Box<Logger + Send>> {
 
 /// A LogRecord is created by the logging macros, and passed as the only
 /// argument to Loggers.
-#[derive(Show)]
+#[derive(Debug)]
 pub struct LogRecord<'a> {
 
     /// The module path of where the LogRecord originated.