more clippy things

This commit is contained in:
Folkert 2020-11-19 22:20:00 +01:00
parent e30893b66e
commit 4db48d9f13
5 changed files with 5 additions and 5 deletions

View file

@ -137,7 +137,7 @@ fn comments_or_new_lines_to_docs<'a>(
match comment_or_new_line {
DocComment(doc_str) => {
docs.push_str(doc_str);
docs.push_str("\n");
docs.push('\n');
}
Newline | LineComment(_) => {}
}