docs(server): fix some grammar in Http and Connecting docs

This commit is contained in:
Sean McArthur
2018-06-01 14:11:32 -07:00
parent 789c2231f3
commit 5e37272754

View File

@@ -32,7 +32,7 @@ use error::{Kind, Parse};
/// ///
/// This structure is used to configure options for an HTTP server connection. /// This structure is used to configure options for an HTTP server connection.
/// ///
/// If don't have need to manage connections yourself, consider using the /// If you don't have need to manage connections yourself, consider using the
/// higher-level [Server](super) API. /// higher-level [Server](super) API.
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct Http { pub struct Http {
@@ -54,7 +54,7 @@ pub struct Serve<I, S> {
protocol: Http, protocol: Http,
} }
/// A future binding a `Service` to a `Connection`. /// A future building a new `Service` to a `Connection`.
/// ///
/// Wraps the future returned from `NewService` into one that returns /// Wraps the future returned from `NewService` into one that returns
/// a `Connection`. /// a `Connection`.