Browse Source

add missing parantheses to doc comment

Jonathan Kelley 1 week ago
parent
commit
99a6b23df8
1 changed files with 1 additions and 1 deletions
  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>| {
 ///             // ...
-///         }
+///         }))
 ///     }
 /// }
 /// ```