diff options
| author | bors <bors@rust-lang.org> | 2013-06-25 18:02:02 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-25 18:02:02 -0700 |
| commit | e9ac7194ff31792e2eca2c745fbef309a2daba86 (patch) | |
| tree | 879558b9ab5aad3f51922884e1f41f8b424b375e /src/libsyntax/ext/fmt.rs | |
| parent | efd1438770ae371406327304cb6ad4501db256ae (diff) | |
| parent | a616531ebbfa4403c024bcb895818980c33687e0 (diff) | |
| download | rust-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/ext/fmt.rs')
| -rw-r--r-- | src/libsyntax/ext/fmt.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/libsyntax/ext/fmt.rs b/src/libsyntax/ext/fmt.rs index 4c0a85b665a..76073199f64 100644 --- a/src/libsyntax/ext/fmt.rs +++ b/src/libsyntax/ext/fmt.rs @@ -14,17 +14,15 @@ * compiler syntax extension plugin interface. */ -use core::prelude::*; - use ast; use codemap::span; use ext::base::*; use ext::base; use ext::build::AstBuilder; -use core::option; -use core::unstable::extfmt::ct::*; -use core::vec; +use std::option; +use std::unstable::extfmt::ct::*; +use std::vec; use parse::token::{str_to_ident}; pub fn expand_syntax_ext(cx: @ExtCtxt, sp: span, tts: &[ast::token_tree]) @@ -267,7 +265,7 @@ fn pieces_to_expr(cx: @ExtCtxt, sp: span, let mut stms = ~[]; /* Translate each piece (portion of the fmt expression) by invoking the - corresponding function in core::unstable::extfmt. Each function takes a + corresponding function in std::unstable::extfmt. Each function takes a buffer to insert data into along with the data being formatted. */ let npieces = pieces.len(); do vec::consume(pieces) |i, pc| { |
