MCPcopy Create free account
hub / github.com/denoland/rust-urlpattern / next_is_authority_slashes

Method next_is_authority_slashes

src/constructor_parser.rs:274–280  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

272 // Ref: https://wicg.github.io/urlpattern/#next-is-authority-slashes
273 #[inline]
274 fn next_is_authority_slashes(&self) -> bool {
275 if !self.is_non_special_pattern_char(self.token_index + 1, "/") {
276 false
277 } else {
278 self.is_non_special_pattern_char(self.token_index + 2, "/")
279 }
280 }
281
282 // Ref: https://wicg.github.io/urlpattern/#is-an-ipv6-open
283 #[inline]

Callers 1

parse_constructor_stringFunction · 0.80

Calls 1

Tested by

no test coverage detected