aboutsummaryrefslogtreecommitdiffstats
path: root/askama_escape/src/lib.rs
diff options
context:
space:
mode:
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>