Skip to content

Commit 1922bb6

Browse files
KSXGitHubanonrig
authored andcommitted
docs: display the diagram properly
1 parent 42ea4e8 commit 1922bb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ impl From<c_uint> for HostType {
7474
/// By using 32-bit integers, we implicitly assume that the URL string
7575
/// cannot exceed 4 GB.
7676
///
77+
/// ```text
7778
/// https://user:[email protected]:1234/foo/bar?baz#quux
7879
/// | | | | ^^^^| | |
7980
/// | | | | | | | `----- hash_start
@@ -84,6 +85,7 @@ impl From<c_uint> for HostType {
8485
/// | | `---------------------------------- host_start
8586
/// | `--------------------------------------- username_end
8687
/// `--------------------------------------------- protocol_end
88+
/// ```
8789
#[derive(Debug)]
8890
pub struct UrlComponents {
8991
pub protocol_end: u32,

0 commit comments

Comments
 (0)