Quellcode durchsuchen

fix: format styles

Shuanghui Yan vor 3 Jahren
Ursprung
Commit
aa2d6b8d11
1 geänderte Dateien mit 3 neuen und 5 gelöschten Zeilen
  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,
         });
     }