aboutsummaryrefslogtreecommitdiffstats
path: root/askama_escape/src
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-07-24 23:01:04 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-07-25 22:55:55 +0200
commit0efd48e037f54957ba577dfc871753a7e2d28038 (patch)
tree59241be42afe850c12dcf410a057f8a2a64f048e /askama_escape/src
parent5b9c3ca4acb701ea5e5f2431e3ee20057137d8fe (diff)
downloadaskama-0efd48e037f54957ba577dfc871753a7e2d28038.tar.gz
askama-0efd48e037f54957ba577dfc871753a7e2d28038.tar.bz2
askama-0efd48e037f54957ba577dfc871753a7e2d28038.zip
Update formatting
Diffstat (limited to '')
-rw-r--r--askama_escape/src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs
index 62a29da..2771507 100644
--- a/askama_escape/src/lib.rs
+++ b/askama_escape/src/lib.rs
@@ -77,10 +77,7 @@ pub fn escape<E>(string: &str, escaper: E) -> Escaped<'_, E>
where
E: Escaper,
{
- Escaped {
- string,
- escaper,
- }
+ Escaped { string, escaper }
}
pub struct Escaped<'a, E>