Merge branch 'master' into jk/documet-everything
This commit is contained in:
commit
77631bff1f
34 files changed
+891
-81
No files matched your search
@@ -181,6 +181,7 @@ pub enum DomEdit<'bump> {
|
||||
|
||||
/// The name of the attribute to remove.
|
||||
name: &'static str,
|
||||
ns: Option<&'bump str>,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -292,8 +293,15 @@ impl<'a> Mutations<'a> {
|
||||
}
|
||||
|
||||
pub(crate) fn remove_attribute(&mut self, attribute: &Attribute, root: u64) {
|
||||
let name = attribute.name;
|
||||
self.edits.push(RemoveAttribute { name, root });
|
||||
let Attribute {
|
||||
name, namespace, ..
|
||||
} = attribute;
|
||||
|
||||
self.edits.push(RemoveAttribute {
|
||||
name,
|
||||
ns: *namespace,
|
||||
root,
|
||||
});
|
||||
}
|
||||
|
||||
pub(crate) fn mark_dirty_scope(&mut self, scope: ScopeId) {
|
||||
|
||||
Reference in new issue
Block a user