Browse Source

fix: format styles

Shuanghui Yan 3 năm trước cách đây
mục cha
commit
aa2d6b8d11
1 tập tin đã thay đổi với 3 bổ sung5 xóa
  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,
         });
     }