Skip to content

Commit

Permalink
Remove redundant FIXME comment (#508)
Browse files Browse the repository at this point in the history
* Adding hashset usage

* Revert mod.rs

* Remove redundant comment about linear search time

---------

Co-authored-by: Or Gany <[email protected]>
  • Loading branch information
organic1337 and Or Gany authored Aug 27, 2023
1 parent aa11b3b commit ecbd26a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion html5ever/src/tokenizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ impl<Sink: TokenSink> Tokenizer<Sink> {

// Check for a duplicate attribute.
// FIXME: the spec says we should error as soon as the name is finished.
// FIXME: linear time search, do we care?
let dup = {
let name = &*self.current_attr_name;
self.current_tag_attrs
Expand Down

0 comments on commit ecbd26a

Please sign in to comment.