瀏覽代碼

fix: format styles

Shuanghui Yan 3 年之前
父節點
當前提交
aa2d6b8d11
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      packages/core/src/mutations.rs

+ 3 - 5
packages/core/src/mutations.rs

@@ -220,15 +220,13 @@ impl<'a> Mutations<'a> {
 
     pub(crate) fn remove_attribute(&mut self, attribute: &Attribute, root: u64) {
         let Attribute {
-            name,
-            namespace,
-            ..
+            name, namespace, ..
         } = attribute;
 
-        self.edits.push(RemoveAttribute { 
+        self.edits.push(RemoveAttribute {
             name,
             ns: *namespace,
-            root
+            root,
         });
     }