Ref: https://wicg.github.io/urlpattern/#is-a-duplicate-name
(&self, name: &str)
| 330 | |
| 331 | // Ref: https://wicg.github.io/urlpattern/#is-a-duplicate-name |
| 332 | fn is_duplicate_name(&self, name: &str) -> bool { |
| 333 | self.part_list.iter().any(|p| p.name == name) |
| 334 | } |
| 335 | |
| 336 | // Ref: https://wicg.github.io/urlpattern/#consume-text |
| 337 | fn consume_text(&mut self) -> String { |