pub fn normalize_domain(s: &str) -> Cow<'_, str>Expand description
Normalize a domain for use with domain_str / suffix_str:
strip a single trailing dot (FQDN form) and lowercase any ASCII upper
bytes. Borrows when the input is already normalized; only allocates
when uppercase bytes are present.