Просмотр исходного кода

Allow no trailing comma after attributes (#2651)

Evan Almloff 11 месяцев назад
Родитель
Сommit
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;
                     }
                 }
             }