Parcourir la source

fix: add comment

Jonathan Kelley il y a 2 ans
Parent
commit
77523bdc31
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      examples/simple_list.rs

+ 1 - 0
examples/simple_list.rs

@@ -20,6 +20,7 @@ fn app(cx: Scope) -> Element {
             // Use optionals
             Some(rsx! { "Some" }),
 
+            // use a for loop or unterminated conditional
             div {
                 for name in 0..10 {
                     rsx! { "{name}" }