aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/input.rs2
1 files changed, 1 insertions, 1 deletions
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))
},