Rollup merge of #30940 - tshepang:extraneous-playpen-whitespace, r=steveklabnik

This commit is contained in:
Manish Goregaokar 2016-01-17 17:25:47 +05:30
commit fbf3e96e56

View File

@ -319,6 +319,7 @@ pub fn maketest(s: &str, cratename: Option<&str>, dont_insert_main: bool,
} else {
prog.push_str("fn main() {\n ");
prog.push_str(&everything_else.replace("\n", "\n "));
prog = prog.trim().into();
prog.push_str("\n}");
}