Browse Source

fix: add comment

Jonathan Kelley 2 năm trước cách đây
mục cha
commit
77523bdc31
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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}" }