From 5503b945cc9ec274ae3d859330767e1088b13a52 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 6 Sep 2017 21:12:53 +0200 Subject: Code cleanups as suggested by Clippy --- askama_shared/src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared/src/input.rs') diff --git a/askama_shared/src/input.rs b/askama_shared/src/input.rs index f0baed8..7d27eb3 100644 --- a/askama_shared/src/input.rs +++ b/askama_shared/src/input.rs @@ -25,7 +25,7 @@ impl<'a> TemplateInput<'a> { (path, Cow::Borrowed(s)) }, Source::Path(s) => { - let path = path::find_template_from_path(&s, None); + let path = path::find_template_from_path(s, None); let src = path::get_template_source(&path); (path, Cow::Owned(src)) }, -- cgit