summary refs log tree commit diff
path: root/src/libsyntax/ast_map
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-07 10:27:52 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-07 10:27:52 -0800
commitb53e9f17d336bc3550ab2c5eda503bd9e719e94f (patch)
tree7faddc7360154edef97d224981749d955756d4af /src/libsyntax/ast_map
parent2a8cb678e61e91c160d80794b5fdd723d0d4211c (diff)
downloadrust-b53e9f17d336bc3550ab2c5eda503bd9e719e94f.tar.gz
rust-b53e9f17d336bc3550ab2c5eda503bd9e719e94f.zip
Register new snapshots
Diffstat (limited to 'src/libsyntax/ast_map')
-rw-r--r--src/libsyntax/ast_map/mod.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libsyntax/ast_map/mod.rs b/src/libsyntax/ast_map/mod.rs
index 7496a0f9f26..eb725b6d885 100644
--- a/src/libsyntax/ast_map/mod.rs
+++ b/src/libsyntax/ast_map/mod.rs
@@ -32,7 +32,7 @@ use std::slice;
 
 pub mod blocks;
 
-#[derive(Clone, Copy, PartialEq)]
+#[derive(Clone, Copy, PartialEq, Show)]
 pub enum PathElem {
     PathMod(Name),
     PathName(Name)
@@ -46,13 +46,6 @@ impl PathElem {
     }
 }
 
-//NOTE(stage0): replace with deriving(Show) after snapshot
-impl fmt::Show for PathElem {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        fmt::String::fmt(self, f)
-    }
-}
-
 impl fmt::String for PathElem {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         let slot = token::get_name(self.name());