docs(lib): fix broken intra docs links

This commit is contained in:
Sean McArthur
2019-12-11 13:12:24 -08:00
parent bdca4992fc
commit 57ef271500
8 changed files with 16 additions and 16 deletions

View File

@@ -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.
//!