소스 검색

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>| {
 ///             // ...
-///         }
+///         }))
 ///     }
 /// }
 /// ```