Skip to content

Commit d82e7b0

Browse files
committed
Remove lint warning in renderer
1 parent cf60355 commit d82e7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderer/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ fn gen_single_page(path: &mut PathBuf, base_url: &Url) -> Result<()> {
309309

310310
// Discard lines until the end of the script.
311311
// Also, check if this does discard lines; if this discards none, we have a problem.
312-
let mut auto_printer_script_lines = lines.by_ref().take_while(|line| {
312+
let auto_printer_script_lines = lines.by_ref().take_while(|line| {
313313
line.as_ref().map_or(true, |line| {
314314
// HACK: this relies on the exact formatting of the auto-printer's script end tag
315315
line.trim_start() != "</script>"

0 commit comments

Comments
 (0)