Selaa lähdekoodia

fix: add comment

Jonathan Kelley 2 vuotta sitten
vanhempi
commit
77523bdc31
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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}" }