Jonathan Kelley 2 anni fa
parent
commit
77523bdc31
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      examples/simple_list.rs

+ 1 - 0
examples/simple_list.rs

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