Преглед изворни кода

add missing parantheses to doc comment

Jonathan Kelley пре 1 недеља
родитељ
комит
99a6b23df8
1 измењених фајлова са 1 додато и 1 уклоњено
  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>| {
 ///             // ...
-///         }
+///         }))
 ///     }
 /// }
 /// ```