Explorar el Código

Make Clippy happy

Jonathan Kelley hace 1 año
padre
commit
fe2c17f792
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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")
 }