std: Rename the ToStr trait to ToString, and to_str to to_string.
[breaking-change]
This commit is contained in:
committed by
Brian Anderson
parent
bfe4ddfdea
commit
12c334a77b
@@ -21,7 +21,7 @@ pub fn expand_syntax_ext(cx: &mut base::ExtCtxt,
|
||||
-> Box<base::MacResult> {
|
||||
|
||||
cx.print_backtrace();
|
||||
println!("{}", print::pprust::tt_to_str(&ast::TTDelim(
|
||||
println!("{}", print::pprust::tt_to_string(&ast::TTDelim(
|
||||
Rc::new(tt.iter().map(|x| (*x).clone()).collect()))));
|
||||
|
||||
// any so that `log_syntax` can be invoked as an expression and item.
|
||||
|
||||
Reference in New Issue
Block a user