aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/input.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-09-06 21:12:53 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-09-06 21:12:53 +0200
commit5503b945cc9ec274ae3d859330767e1088b13a52 (patch)
tree24e8fce1a38bb2fa69f5eb6038d6bc5144372122 /askama_shared/src/input.rs
parentf58e26c740db84b27c36d3c20a234ee31a24bd75 (diff)
downloadaskama-5503b945cc9ec274ae3d859330767e1088b13a52.tar.gz
askama-5503b945cc9ec274ae3d859330767e1088b13a52.tar.bz2
askama-5503b945cc9ec274ae3d859330767e1088b13a52.zip
Code cleanups as suggested by Clippy
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))
},