docs(lib): fix broken intra docs links
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//! Asynchronous Services
|
||||
//!
|
||||
//! A [`Service`](service::Service) is a trait representing an asynchronous
|
||||
//! A [`Service`](Service) is a trait representing an asynchronous
|
||||
//! function of a request to a response. It's similar to
|
||||
//! `async fn(Request) -> Result<Response, Error>`.
|
||||
//!
|
||||
@@ -22,11 +22,11 @@
|
||||
//! connection will receive.
|
||||
//!
|
||||
//! While it's possible to implement `Service` for a type manually, the helper
|
||||
//! [`service_fn`](service::service_fn) should be sufficient for most cases.
|
||||
//! [`service_fn`](service_fn) should be sufficient for most cases.
|
||||
//!
|
||||
//! # MakeService
|
||||
//!
|
||||
//! Since a `Service` is bound to a single connection, a [`Server`](::Server)
|
||||
//! Since a `Service` is bound to a single connection, a [`Server`](crate::Server)
|
||||
//! needs a way to make them as it accepts connections. This is what a
|
||||
//! `MakeService` does.
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user