mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
appease clippy
This commit is contained in:
parent
1d44f7fef8
commit
805b54409a
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ pub fn fmt_comments_only<'a, I>(
|
|||
|
||||
fn fmt_comment<'a>(buf: &mut String<'a>, comment: &'a str) {
|
||||
buf.push('#');
|
||||
if !comment.starts_with(" ") {
|
||||
if !comment.starts_with(' ') {
|
||||
buf.push(' ');
|
||||
}
|
||||
buf.push_str(comment);
|
||||
|
@ -119,7 +119,7 @@ fn fmt_comment<'a>(buf: &mut String<'a>, comment: &'a str) {
|
|||
|
||||
fn fmt_docs<'a>(buf: &mut String<'a>, docs: &'a str) {
|
||||
buf.push_str("##");
|
||||
if !docs.starts_with(" ") {
|
||||
if !docs.starts_with(' ') {
|
||||
buf.push(' ');
|
||||
}
|
||||
buf.push_str(docs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue