aboutsummaryrefslogtreecommitdiffstats
path: root/askama_escape/src
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-12-22 08:36:07 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-12-22 12:30:43 +0100
commit4d936524ba4b595a660e63650495fa96e709550a (patch)
tree3b074996e2b8dacae8df7addd10e24febeaec4ec /askama_escape/src
parent5cfef325b03b25ad96d6c229a5ec3fd6a32f700d (diff)
downloadaskama-4d936524ba4b595a660e63650495fa96e709550a.tar.gz
askama-4d936524ba4b595a660e63650495fa96e709550a.tar.bz2
askama-4d936524ba4b595a660e63650495fa96e709550a.zip
Fix suggestions from nightly clippy
Diffstat (limited to '')
-rw-r--r--askama_escape/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs
index 4643390..4a01485 100644
--- a/askama_escape/src/lib.rs
+++ b/askama_escape/src/lib.rs
@@ -35,6 +35,7 @@ where
}
}
+ #[must_use]
pub fn mark_safe(mut self) -> MarkupDisplay<E, T> {
self.value = match self.value {
DisplayValue::Unsafe(t) => DisplayValue::Safe(t),