]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/concat_idents.rs
core: rename strbuf::StrBuf to string::String
[rust.git] / src / libsyntax / ext / concat_idents.rs
index 24478358d7951241a3552176aeb8907383335ced..dad7f3e6979f77ed087373489c16f051c01f141c 100644 (file)
 use parse::token;
 use parse::token::{str_to_ident};
 
-use std::strbuf::StrBuf;
+use std::string::String;
 
 pub fn expand_syntax_ext(cx: &mut ExtCtxt, sp: Span, tts: &[ast::TokenTree])
                          -> Box<base::MacResult> {
-    let mut res_str = StrBuf::new();
+    let mut res_str = String::new();
     for (i, e) in tts.iter().enumerate() {
         if i & 1 == 1 {
             match *e {