Skip to content

Commit e6b1413

Browse files
committed
Fix clippy::default_constructed_unit_structs
1 parent 1d3b99c commit e6b1413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/book/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ mod tests {
859859
.and_then(Value::as_str)
860860
.unwrap();
861861
assert_eq!(html, "html");
862-
let html_renderer = HtmlHandlebars::default();
862+
let html_renderer = HtmlHandlebars;
863863
let pre = LinkPreprocessor::new();
864864

865865
let should_run = preprocessor_should_run(&pre, &html_renderer, &cfg);

0 commit comments

Comments
 (0)