aboutsummaryrefslogtreecommitdiffstats
path: root/askama_escape
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-01-05 19:27:28 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-01-06 13:05:24 +0100
commit697f92dc273ed82da8012216079361853c2457f2 (patch)
tree4e017180ba0de112526e29a85d249d319232e64f /askama_escape
parent7e3c00aa65135ba2e9aa47f824ff9fac4accae2a (diff)
downloadaskama-697f92dc273ed82da8012216079361853c2457f2.tar.gz
askama-697f92dc273ed82da8012216079361853c2457f2.tar.bz2
askama-697f92dc273ed82da8012216079361853c2457f2.zip
Add `#[derive(Debug)]` for public types
Diffstat (limited to 'askama_escape')
-rw-r--r--askama_escape/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs
index 4a01485..2aa705e 100644
--- a/askama_escape/src/lib.rs
+++ b/askama_escape/src/lib.rs
@@ -7,6 +7,7 @@ extern crate std;
use core::fmt::{self, Display, Formatter, Write};
use core::str;
+#[derive(Debug)]
pub struct MarkupDisplay<E, T>
where
E: Escaper,
@@ -65,6 +66,7 @@ where
}
}
+#[derive(Debug)]
pub struct EscapeWriter<'a, E, W> {
fmt: W,
escaper: &'a E,
@@ -87,6 +89,7 @@ where
Escaped { string, escaper }
}
+#[derive(Debug)]
pub struct Escaped<'a, E>
where
E: Escaper,