aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'askama_shared/src/input.rs')
-rw-r--r--askama_shared/src/input.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_shared/src/input.rs b/askama_shared/src/input.rs
index bbff4b4..25382cb 100644
--- a/askama_shared/src/input.rs
+++ b/askama_shared/src/input.rs
@@ -92,7 +92,7 @@ impl<'a> TemplateMeta<'a> {
} else {
panic!("ext value must be string literal");
},
- attr @ _ => { panic!("unsupported annotation key '{}' found", attr) }
+ attr @ _ => panic!("unsupported annotation key '{}' found", attr),
}
}
}
@@ -123,7 +123,7 @@ impl<'a> TemplateMeta<'a> {
} else {
EscapeMode::None
}
- }
+ },
};
TemplateMeta { source, print, escaping, ext }
}