Browse Source

Allow no trailing comma after attributes (#2651)

Evan Almloff 11 months ago
parent
commit
7e279e5eb9
1 changed files with 1 additions and 1 deletions
  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;
                     }
                 }
             }