Browse Source

fix: add comment

Jonathan Kelley 2 years ago
parent
commit
77523bdc31
1 changed files with 1 additions and 0 deletions
  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}" }