Searched refs:domain_to_ascii (Results 1 – 4 of 4) sorted by relevance
50 pub fn domain_to_ascii(domain: &str) -> Result<String, uts46::Errors> { in domain_to_ascii() function
18 pub fn domain_to_ascii(domain: &str) -> String { in domain_to_ascii() function
85 let domain = idna::domain_to_ascii(&domain)?; in parse()
708 use url::quirks::{domain_to_ascii, domain_to_unicode}; in test_domain_encoding_quirks()718 assert_eq!(domain_to_ascii(url.0), url.1); in test_domain_encoding_quirks()