rustdoc: remove extraneous whitespace inserted in playpen links
This commit is contained in:
parent
a70a60a02b
commit
61e3918189
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue