File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ jobs:
227
227
- uses : Swatinem/rust-cache@v2
228
228
229
229
- name : cargo doc
230
- run : cargo rustdoc --features full,ffi -- --cfg docsrs --cfg hyper_unstable_ffi -D broken-intra-doc-links
230
+ run : cargo rustdoc --features full,ffi -- --cfg docsrs --cfg hyper_unstable_ffi -D rustdoc:: broken-intra-doc-links
231
231
232
232
check-external-types :
233
233
name : Check exposed types
Original file line number Diff line number Diff line change 7
7
//!
8
8
//! There are two pieces to this in hyper:
9
9
//!
10
- //! - **The [`Body`](Body) trait** describes all possible bodies.
10
+ //! - **The [`Body`] trait** describes all possible bodies.
11
11
//! hyper allows any body type that implements `Body`, allowing
12
12
//! applications to have fine-grained control over their streaming.
13
- //! - **The [`Incoming`](Incoming) concrete type**, which is an implementation
13
+ //! - **The [`Incoming`] concrete type**, which is an implementation
14
14
//! of `Body`, and returned by hyper as a "receive stream" (so, for server
15
15
//! requests and client responses).
16
16
//!
Original file line number Diff line number Diff line change 1
1
//! HTTP Client
2
2
//!
3
- //! hyper provides HTTP over a single connection. See the [`conn`](conn) module.
3
+ //! hyper provides HTTP over a single connection. See the [`conn`] module.
4
4
//!
5
5
//! ## Example
6
6
//!
Original file line number Diff line number Diff line change 5
5
//!
6
6
//! How exactly you choose to listen for connections is not something hyper
7
7
//! concerns itself with. After you have a connection, you can handle HTTP over
8
- //! it with the types in the [`conn`](conn) module.
8
+ //! it with the types in the [`conn`] module.
9
9
pub mod conn;
Original file line number Diff line number Diff line change 1
1
//! Asynchronous Services
2
2
//!
3
- //! A [`Service`](Service) is a trait representing an asynchronous
3
+ //! A [`Service`] is a trait representing an asynchronous
4
4
//! function of a request to a response. It's similar to
5
5
//! `async fn(Request) -> Result<Response, Error>`.
6
6
//!
17
17
//! to a single connection. It defines how to respond to **all** requests that
18
18
//! connection will receive.
19
19
//!
20
- //! The helper [`service_fn`](service_fn) should be sufficient for most cases, but
20
+ //! The helper [`service_fn`] should be sufficient for most cases, but
21
21
//! if you need to implement `Service` for a type manually, you can follow the example
22
22
//! in `service_struct_impl.rs`.
23
23
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ pub struct OnUpgrade {
73
73
rx : Option < oneshot:: Receiver < crate :: Result < Upgraded > > > ,
74
74
}
75
75
76
- /// The deconstructed parts of an [`Upgraded`](Upgraded) type.
76
+ /// The deconstructed parts of an [`Upgraded`] type.
77
77
///
78
78
/// Includes the original IO type, and a read buffer of bytes that the
79
79
/// HTTP state machine may have already read before completing an upgrade.
You can’t perform that action at this time.
0 commit comments