1
Fork 0

Fix typo in std::future::Future docs

This commit is contained in:
Thomas Eizinger 2019-02-19 09:36:41 +11:00
parent 146aa60f34
commit 75c541f228

View file

@ -81,7 +81,7 @@ pub trait Future {
/// ///
/// Once a future has completed (returned `Ready` from `poll`), /// Once a future has completed (returned `Ready` from `poll`),
/// then any future calls to `poll` may panic, block forever, or otherwise /// then any future calls to `poll` may panic, block forever, or otherwise
/// cause any kind of bad behavior expect causing memory unsafety. /// cause any kind of bad behavior except causing memory unsafety.
/// The `Future` trait itself provides no guarantees about the behavior /// The `Future` trait itself provides no guarantees about the behavior
/// of `poll` after a future has completed. /// of `poll` after a future has completed.
/// ///