Skip to content

Commit 2e21f1e

Browse files
committed
clippy
1 parent 65b0271 commit 2e21f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ impl AllTemplates {
204204
handlebars.register_helper("static_path", Box::new(static_path));
205205

206206
handlebars_helper!(markdown_helper: |x: str|
207-
markdown::to_html_with_options(&x, &markdown::Options::gfm())
207+
markdown::to_html_with_options(x, &markdown::Options::gfm())
208208
.unwrap_or_else(|s|s)
209209
);
210210
handlebars.register_helper("markdown", Box::new(markdown_helper));

0 commit comments

Comments
 (0)