]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in std::future::Future docs
authorThomas Eizinger <thomas@eizinger.io>
Mon, 18 Feb 2019 22:36:41 +0000 (09:36 +1100)
committerThomas Eizinger <thomas@eizinger.io>
Mon, 18 Feb 2019 22:36:41 +0000 (09:36 +1100)
src/libcore/future/future.rs

index 02457e00054c8eb0f19f8d95a1d9a2300f53f942..452152f8187ee92e8ccdd19ccb453e4b7b148d00 100644 (file)
@@ -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.
     ///