From c5b5ed947f07358b9bf0c4aeb99995902eab3cdf Mon Sep 17 00:00:00 2001 From: Stephen Date: Sun, 5 Feb 2023 22:04:56 -0400 Subject: [PATCH] Remove unneeded default constraint on HtmlHandler --- src/export/html.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/export/html.rs b/src/export/html.rs index e0b0bd1..47ccb8c 100644 --- a/src/export/html.rs +++ b/src/export/html.rs @@ -49,7 +49,7 @@ impl> fmt::Display for HtmlEscape { } } -pub trait HtmlHandler>: Default { +pub trait HtmlHandler> { fn start(&mut self, w: W, element: &Element) -> Result<(), E>; fn end(&mut self, w: W, element: &Element) -> Result<(), E>; }