Skip to content

Commit 0136ae7

Browse files
docs: fix docs failing to compile (#722)
Closes #721
1 parent 761d36a commit 0136ae7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//! Notably you'll find `Uri` for what a [`Request`] is requesting, a [`Method`]
77
//! for how it's being requested, a [`StatusCode`] for what sort of response came
88
//! back, a [`Version`] for how this was communicated, and
9-
//! [`HeaderName`][header::HeaderName]/[`HeaderValue`][header::HeaderName] definitions to get grouped in a [`HeaderMap`] to
9+
//! [`HeaderName`]/[`HeaderValue`] definitions to get grouped in a [`HeaderMap`] to
1010
//! work with request/response headers.
1111
//!
1212
//! You will notably *not* find an implementation of sending requests or
@@ -87,10 +87,10 @@
8787
//! Accept: text/html
8888
//! ```
8989
//!
90-
//! Then `"Accept"` is a [`HeaderName`][header::HeaderName] while `"text/html"` is a [`HeaderValue`][header::HeaderValue].
90+
//! Then `"Accept"` is a [`HeaderName`] while `"text/html"` is a [`HeaderValue`].
9191
//! Each of these is a dedicated type to allow for a number of interesting
9292
//! optimizations and to also encode the static guarantees of each type. For
93-
//! example a [`HeaderName`][header::HeaderName] is always a valid `&str`, but a [`HeaderValue`] may
93+
//! example a [`HeaderName`] is always a valid `&str`, but a [`HeaderValue`] may
9494
//! not be valid UTF-8.
9595
//!
9696
//! The most common header names are already defined for you as constant values
@@ -134,7 +134,7 @@
134134
//! Most HTTP requests and responses tend to come with more than one header, so
135135
//! it's not too useful to just work with names and values only! This crate also
136136
//! provides a [`HeaderMap`] type which is a specialized hash map for keys as
137-
//! [`HeaderName`][header::HeaderName] and generic values. This type, like header names, is optimized
137+
//! [`HeaderName`] and generic values. This type, like header names, is optimized
138138
//! for common usage but should continue to scale with your needs over time.
139139
//!
140140
//! # URIs

0 commit comments

Comments
 (0)