fixed typos in comments (#89)

This commit is contained in:
Markus Jais 2018-07-12 00:04:15 +02:00 committed by Carl Lerche
parent 5e0a2c7e2f
commit 09c9419c46
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ use futures::{Future, Poll};
/// ///
/// This utility allows load metrics to have a protocol-agnostic means to track streams /// This utility allows load metrics to have a protocol-agnostic means to track streams
/// past their initial response future. For example, if `V` represents an HTTP response /// past their initial response future. For example, if `V` represents an HTTP response
/// type, an implementaton could add `H`-typed handles to each response's extensions to /// type, an implementation could add `H`-typed handles to each response's extensions to
/// detect when the response is dropped. /// detect when the response is dropped.
/// ///
/// Handles are intended to be RAII guards that primarily implement `Drop` and update load /// Handles are intended to be RAII guards that primarily implement `Drop` and update load

View File

@ -1,8 +1,8 @@
//! Trait object `Service` instances //! Trait object `Service` instances
//! //!
//! Dynamically dispatched `Service` objects allow for erasing the underlying //! Dynamically dispatched `Service` objects allow for erasing the underlying
//! `Service` type and using the `Service` intances as opaque handles. This can //! `Service` type and using the `Service` instances as opaque handles. This can
//! be useful when the service instance cannot be explictly named for whatever //! be useful when the service instance cannot be explicitly named for whatever
//! reason. //! reason.
//! //!
//! There are two variants of service objects. `BoxService` requires both the //! There are two variants of service objects. `BoxService` requires both the