about summary refs log tree commit diff
path: root/src/libcore/future
diff options
context:
space:
mode:
authorThomas Eizinger <thomas@eizinger.io>2019-02-19 09:36:41 +1100
committerThomas Eizinger <thomas@eizinger.io>2019-02-19 09:36:41 +1100
commit75c541f228be5c76e2b81971b4f11fd537b83eee (patch)
treea4ac787dfbe45cc7c9bb49a9485dd3eada580725 /src/libcore/future
parent146aa60f3484d8267e085e80611969f387eca068 (diff)
downloadrust-75c541f228be5c76e2b81971b4f11fd537b83eee.tar.gz
rust-75c541f228be5c76e2b81971b4f11fd537b83eee.zip
Fix typo in std::future::Future docs
Diffstat (limited to 'src/libcore/future')
-rw-r--r--src/libcore/future/future.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/future/future.rs b/src/libcore/future/future.rs
index 02457e00054..452152f8187 100644
--- a/src/libcore/future/future.rs
+++ b/src/libcore/future/future.rs
@@ -81,7 +81,7 @@ pub trait Future {
     ///
     /// Once a future has completed (returned `Ready` from `poll`),
     /// 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
     /// of `poll` after a future has completed.
     ///