Change librustdoc write(.. \n) to writeln(..); fix comment in grammar
More grammar
This commit is contained in:
@@ -964,7 +964,7 @@ fn attributes(it: &clean::Item) -> Vec<String> {
|
||||
// a whitespace prefix and newline.
|
||||
fn render_attributes_in_pre(w: &mut Buffer, it: &clean::Item, prefix: &str) {
|
||||
for a in attributes(it) {
|
||||
write!(w, "{}{}\n", prefix, a);
|
||||
writeln!(w, "{}{}", prefix, a);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user