Skip to content

Commit

Permalink
Apply cargo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Aug 6, 2023
1 parent 3db1b5f commit 8a18ae9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/annotate_attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl Processor {
.collect(),
variant: variant_str,
};
let mut existing = self.attributes.entry(attr_key).or_default();
let existing = self.attributes.entry(attr_key).or_default();
if existing.default.is_empty() {
existing.default = descriptions.default;
} else if !descriptions.default.is_empty() {
Expand Down
2 changes: 1 addition & 1 deletion src/interface_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Processor {
continue;
}
let name = window[1].text_content();
let mut info = self.interfaces.entry(name).or_default();
let info = self.interfaces.entry(name).or_default();
if is_partial {
if let Some(id) = window[1].get_attribute(&ID) {
info.partials.push(id);
Expand Down
2 changes: 1 addition & 1 deletion src/tag_omission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl Processor {
for dd in dom_utils::dt_descriptions(&dt) {
dom_utils::scan_dom(&dd, &mut |n| {
if n.is_html_element(&local_name!("code")) {
let mut info = self.elements.entry(n.text_content()).or_default();
let info = self.elements.entry(n.text_content()).or_default();
info.is_void_element = true;
}
});
Expand Down

0 comments on commit 8a18ae9

Please sign in to comment.