Merge pull request #72 from dwrensha/copy-edit

Fix typo and awkward sentences.
This commit is contained in:
Alex Crichton 2016-10-22 21:20:29 -07:00 committed by GitHub
commit 37a2bed4cf

View File

@ -15,14 +15,13 @@
//! * Timeouts //! * Timeouts
//! //!
//! More functionality is likely to be added over time, but otherwise the crate //! More functionality is likely to be added over time, but otherwise the crate
//! is intended to be flexible with the `PollEvented` type which accepts any //! is intended to be flexible, with the `PollEvented` type accepting any
//! type which implements `mio::Evented`. Using this if you'd like Unix domain //! type that implements `mio::Evented`. For example, the `tokio-uds` crate
//! sockets, for example, the `tokio-uds` is built externally to offer this //! uses `PollEvented` to provide support for Unix domain sockets.
//! functionality.
//! //!
//! Some other important tasks covered by this crate are: //! Some other important tasks covered by this crate are:
//! //!
//! * The ability to spawn futures into an even loop. The `Handle` and `Pinned` //! * The ability to spawn futures into an event loop. The `Handle` and `Pinned`
//! types have a `spawn` method which allows executing a future on an event //! types have a `spawn` method which allows executing a future on an event
//! loop. The `Pinned::spawn` method crucially does not require the future //! loop. The `Pinned::spawn` method crucially does not require the future
//! itself to be `Send`. //! itself to be `Send`.