소스 검색

Make Clippy happy

Jonathan Kelley 1 년 전
부모
커밋
fe2c17f792
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      examples/error_handle.rs

+ 1 - 0
examples/error_handle.rs

@@ -49,6 +49,7 @@ fn DemoC(x: i32) -> Element {
     }
 }
 
+#[component]
 fn ComponentPanic() -> Element {
     panic!("This component panics")
 }