Explorar el Código

add missing parantheses to doc comment

Jonathan Kelley hace 1 semana
padre
commit
99a6b23df8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/core/src/events.rs

+ 1 - 1
packages/core/src/events.rs

@@ -598,7 +598,7 @@ type AnyEventHandler = Rc<RefCell<dyn FnMut(Event<dyn Any>)>>;
 ///     button {
 ///         onclick: AttributeValue::Listener(ListenerCallback::new(move |evt: Event<MouseData>| {
 ///             // ...
-///         }
+///         }))
 ///     }
 /// }
 /// ```