浏览代码

fix: add comment

Jonathan Kelley 2 年之前
父节点
当前提交
77523bdc31
共有 1 个文件被更改,包括 1 次插入0 次删除
  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}" }