Skip to content

Commit

Permalink
Merge pull request #1460 from jf2048/ignore-boxed
Browse files Browse the repository at this point in the history
parser: ignore `boxed` elements
  • Loading branch information
sdroege committed Apr 24, 2023
2 parents c8aeb47 + 434db18 commit 7193727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl Library {
"function" => self.read_global_function(parser, ns_id, elem),
"constant" => self.read_constant(parser, ns_id, elem),
"alias" => self.read_alias(parser, ns_id, elem),
"function-macro" | "docsection" => parser.ignore_element(),
"boxed" | "function-macro" | "docsection" => parser.ignore_element(),
_ => {
warn!("<{} name={:?}>", elem.name(), elem.attr("name"));
parser.ignore_element()
Expand Down

0 comments on commit 7193727

Please sign in to comment.