about summary refs log tree commit diff
path: root/src/libsyntax/util
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-25 18:02:02 -0700
committerbors <bors@rust-lang.org>2013-06-25 18:02:02 -0700
commite9ac7194ff31792e2eca2c745fbef309a2daba86 (patch)
tree879558b9ab5aad3f51922884e1f41f8b424b375e /src/libsyntax/util
parentefd1438770ae371406327304cb6ad4501db256ae (diff)
parenta616531ebbfa4403c024bcb895818980c33687e0 (diff)
downloadrust-e9ac7194ff31792e2eca2c745fbef309a2daba86.tar.gz
rust-e9ac7194ff31792e2eca2c745fbef309a2daba86.zip
auto merge of #7365 : cmr/rust/syntax_cleanup, r=Aatch
Sets the stage for further cleanup (especially mass-slaughter of `@`)
Diffstat (limited to 'src/libsyntax/util')
-rw-r--r--src/libsyntax/util/interner.rs9
-rw-r--r--src/libsyntax/util/parser_testing.rs1
2 files changed, 2 insertions, 8 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs
index 004ba7762d3..af37c1d27d8 100644
--- a/src/libsyntax/util/interner.rs
+++ b/src/libsyntax/util/interner.rs
@@ -12,13 +12,8 @@
 // allows bidirectional lookup; i.e. given a value, one can easily find the
 // type, and vice versa.
 
-// allow the interner_key macro to escape this module:
-#[macro_escape];
-
-use core::prelude::*;
-
-use core::cmp::Equiv;
-use core::hashmap::HashMap;
+use std::cmp::Equiv;
+use std::hashmap::HashMap;
 
 pub struct Interner<T> {
     priv map: @mut HashMap<T, uint>,
diff --git a/src/libsyntax/util/parser_testing.rs b/src/libsyntax/util/parser_testing.rs
index d0961ddbc70..4340d6bb6a2 100644
--- a/src/libsyntax/util/parser_testing.rs
+++ b/src/libsyntax/util/parser_testing.rs
@@ -8,7 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use core::option::{Option,None};
 use ast;
 use parse::{new_parse_sess};
 use parse::{ParseSess,string_to_filemap,filemap_to_tts};