mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Rollup merge of #30940 - tshepang:extraneous-playpen-whitespace, r=steveklabnik
This commit is contained in:
commit
fbf3e96e56
@ -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}");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user