aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/simple.rs
diff options
context:
space:
mode:
authorLibravatar Juan Aguilar Santillana <mhpoin@gmail.com>2018-12-07 19:47:33 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-12-07 20:18:16 +0100
commitcdafc8d641632ed89fb6435bfebd70d27bfa74ba (patch)
treed3085568d68051e56a7a50526740457bffe9bb42 /testing/tests/simple.rs
parent93136a66edcddab7c7800ad487c29d2cb57b713b (diff)
downloadaskama-cdafc8d641632ed89fb6435bfebd70d27bfa74ba.tar.gz
askama-cdafc8d641632ed89fb6435bfebd70d27bfa74ba.tar.bz2
askama-cdafc8d641632ed89fb6435bfebd70d27bfa74ba.zip
Fix cargo fmt
Diffstat (limited to 'testing/tests/simple.rs')
-rw-r--r--testing/tests/simple.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs
index 7206add..2cb404e 100644
--- a/testing/tests/simple.rs
+++ b/testing/tests/simple.rs
@@ -222,10 +222,7 @@ enum Alphabet {
}
#[derive(Template)]
-#[template(
- source = "{% if x == Alphabet::Alpha %}true{% endif %}",
- ext = "txt"
-)]
+#[template(source = "{% if x == Alphabet::Alpha %}true{% endif %}", ext = "txt")]
struct PathCompareTemplate {
x: Alphabet,
}