Przeglądaj źródła

Make Clippy happy

Jonathan Kelley 1 rok temu
rodzic
commit
fe2c17f792
1 zmienionych plików z 1 dodań i 0 usunięć
  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")
 }