docs(lib): fix several broken links throughout docs

Closes #1749
Closes #1750
This commit is contained in:
Sean McArthur
2019-01-24 11:19:36 -08:00
parent 9aa7e99010
commit 18f022c70b
6 changed files with 13 additions and 12 deletions

View File

@@ -7,7 +7,7 @@
//!
//! There are two pieces to this in hyper:
//!
//! - The [`Payload`](Payload) trait the describes all possible bodies. hyper
//! - The [`Payload`](body::Payload) trait the describes all possible bodies. hyper
//! allows any body type that implements `Payload`, allowing applications to
//! have fine-grained control over their streaming.
//! - The [`Body`](Body) concrete type, which is an implementation of `Payload`,

View File

@@ -6,7 +6,7 @@ use super::internal::{FullDataArg, FullDataRet};
/// This trait represents a streaming body of a `Request` or `Response`.
///
/// The built-in implementation of this trait is [`Body`](Body), in case you
/// The built-in implementation of this trait is [`Body`](::Body), in case you
/// don't need to customize a send stream for your own application.
pub trait Payload: Send + 'static {
/// A buffer of bytes representing a single chunk of a body.