docs(body): small wording improvement to body module docs

This commit is contained in:
Sean McArthur
2019-12-06 15:41:35 -08:00
parent 86fbbad49e
commit 78e8da17cf

View File

@@ -7,10 +7,10 @@
//! //!
//! There are two pieces to this in hyper: //! There are two pieces to this in hyper:
//! //!
//! - The [`HttpBody`](body::HttpBody) trait the describes all possible bodies. //! - **The [`HttpBody`](body::HttpBody) trait** describes all possible bodies.
//! hyper allows any body type that implements `HttpBody`, allowing //! hyper allows any body type that implements `HttpBody`, allowing
//! applications to have fine-grained control over their streaming. //! applications to have fine-grained control over their streaming.
//! - The [`Body`](Body) concrete type, which is an implementation of //! - **The [`Body`](Body) concrete type**, which is an implementation of
//! `HttpBody`, and returned by hyper as a "receive stream" (so, for server //! `HttpBody`, and returned by hyper as a "receive stream" (so, for server
//! requests and client responses). It is also a decent default implementation //! requests and client responses). It is also a decent default implementation
//! if you don't have very custom needs of your send streams. //! if you don't have very custom needs of your send streams.