mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
auto clippy fixes
This commit is contained in:
parent
72c85efc83
commit
ef39bad7c6
146 changed files with 750 additions and 1005 deletions
|
@ -102,7 +102,7 @@ fn push_html_span(mut buf: Vec<String>, curr: &str, class: &str) -> Vec<String>
|
|||
// html escape strings from source code
|
||||
let escaped = html_escape::encode_text(curr);
|
||||
|
||||
buf.push(format!("<span class=\"{}\">{}</span>", class, escaped));
|
||||
buf.push(format!("<span class=\"{class}\">{escaped}</span>"));
|
||||
|
||||
buf
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ fn push_html(mut buf: Vec<String>, curr: &str) -> Vec<String> {
|
|||
// html escape strings from source code
|
||||
let escaped = html_escape::encode_text(curr);
|
||||
|
||||
buf.push(format!("{}", escaped));
|
||||
buf.push(format!("{escaped}"));
|
||||
|
||||
buf
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue