mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 02:43:45 +00:00
libsyntax: Fix botched merge
This commit is contained in:
parent
d48396c986
commit
f3d6c506a4
@ -2086,7 +2086,7 @@ fn fn_header_info_to_str(opt_sty: Option<ast::self_ty_>,
|
||||
let mut s = visibility_qualified(vis, ~"");
|
||||
|
||||
match opt_sty {
|
||||
Some(ast::sty_static) => str::push_str(s, ~"static "),
|
||||
Some(ast::sty_static) => str::push_str(&mut s, ~"static "),
|
||||
_ => ()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user