aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),