Skip to content

Commit 2f7289e

Browse files
committed
clippy
1 parent f1a56fc commit 2f7289e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/html/htmlcompare_cli.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ fn html_page(title: &str, table: &str) -> String {
3535
let title = format!("<title>{title}</title>");
3636
let header = format!("<h1>{title}</h1>");
3737
let out = [
38-
r##"
38+
r#"
3939
<!DOCTYPE html>
4040
<html>
4141
<head>
42-
<meta charset="UTF-8">"##,
42+
<meta charset="UTF-8">"#,
4343
&title,
4444
r##"</head>
4545
<style>
@@ -176,7 +176,7 @@ fn who_has_what_register_fields(
176176
}
177177
}
178178
}
179-
return fields;
179+
fields
180180
}
181181

182182
fn html_table_fields(parts: &[Part], fields: &BTreeMap<(u32, u32, String), Vec<String>>) -> String {

0 commit comments

Comments
 (0)