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 42ea4e8 commit 1922bb6Copy full SHA for 1922bb6
src/lib.rs
@@ -74,6 +74,7 @@ impl From<c_uint> for HostType {
74
/// By using 32-bit integers, we implicitly assume that the URL string
75
/// cannot exceed 4 GB.
76
///
77
+/// ```text
78
/// https://user:[email protected]:1234/foo/bar?baz#quux
79
/// | | | | ^^^^| | |
80
/// | | | | | | | `----- hash_start
@@ -84,6 +85,7 @@ impl From<c_uint> for HostType {
84
85
/// | | `---------------------------------- host_start
86
/// | `--------------------------------------- username_end
87
/// `--------------------------------------------- protocol_end
88
+/// ```
89
#[derive(Debug)]
90
pub struct UrlComponents {
91
pub protocol_end: u32,
0 commit comments