diff --git a/src/virtual_dom/listener.rs b/src/virtual_dom/listener.rs index d4fa4c58b..742211426 100644 --- a/src/virtual_dom/listener.rs +++ b/src/virtual_dom/listener.rs @@ -24,13 +24,6 @@ impl PartialEq for EventHandler { } } -// TODO: try to print Ms too, maybe by restricting Ms: Debug ? -impl fmt::Debug for EventHandler { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.write_str("EventHandler<_>") - } -} - impl EventHandler { pub fn call(&self, event: web_sys::Event) -> Ms { (self.0)(event)