From 697f92dc273ed82da8012216079361853c2457f2 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Wed, 5 Jan 2022 19:27:28 +0100 Subject: Add `#[derive(Debug)]` for public types --- askama_escape/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) 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 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, -- cgit