libcore: De-mode str

This commit is contained in:
Patrick Walton
2012-09-21 18:36:32 -07:00
parent 49af969e2c
commit d48396c986
19 changed files with 182 additions and 159 deletions

View File

@@ -2093,13 +2093,13 @@ fn fn_header_info_to_str(opt_sty: Option<ast::self_ty_>,
match opt_purity {
Some(ast::impure_fn) => { }
Some(purity) => {
str::push_str(s, purity_to_str(purity));
str::push_char(s, ' ');
str::push_str(&mut s, purity_to_str(purity));
str::push_char(&mut s, ' ');
}
None => {}
}
str::push_str(s, opt_proto_to_str(opt_p));
str::push_str(&mut s, opt_proto_to_str(opt_p));
return s;
}