Răsfoiți Sursa

fix: format styles

Shuanghui Yan 3 ani în urmă
părinte
comite
aa2d6b8d11
1 a modificat fișierele cu 3 adăugiri și 5 ștergeri
  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) {
     pub(crate) fn remove_attribute(&mut self, attribute: &Attribute, root: u64) {
         let Attribute {
         let Attribute {
-            name,
-            namespace,
-            ..
+            name, namespace, ..
         } = attribute;
         } = attribute;
 
 
-        self.edits.push(RemoveAttribute { 
+        self.edits.push(RemoveAttribute {
             name,
             name,
             ns: *namespace,
             ns: *namespace,
-            root
+            root,
         });
         });
     }
     }