We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bede54 commit 0ed8efdCopy full SHA for 0ed8efd
url/src/lib.rs
@@ -842,7 +842,8 @@ impl Url {
842
}
843
844
/// Return the parsed representation of the host for this URL.
845
- /// Non-ASCII domain labels are punycode-encoded per IDNA.
+ /// Non-ASCII domain labels are punycode-encoded per IDNA if this is the host
846
+ /// of a special URL, or percent encoded for non-special URLs.
847
///
848
/// Cannot-be-a-base URLs (typical of `data:` and `mailto:`) and some `file:` URLs
849
/// don’t have a host.
0 commit comments