浏览代码

Allow no trailing comma after attributes (#2651)

Evan Almloff 11 月之前
父节点
当前提交
7e279e5eb9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/rsx/src/attribute.rs

+ 1 - 1
packages/rsx/src/attribute.rs

@@ -352,7 +352,7 @@ impl Attribute {
                     // Autocomplete as an element
                     pub use super::dioxus_elements::elements::completions::CompleteWithBraces::*;
                     fn ignore() {
-                        #name
+                        #name;
                     }
                 }
             }