From f3d6c506a4c614dfd7ecf6c119f13107719cc6b1 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 21 Sep 2012 18:44:00 -0700 Subject: libsyntax: Fix botched merge --- src/libsyntax/print/pprust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index e99e35b596c..7ec3cb23b7b 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -2086,7 +2086,7 @@ fn fn_header_info_to_str(opt_sty: Option, 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 "), _ => () }; -- cgit 1.4.1-3-g733a5