about summary refs log tree commit diff
path: root/src/libcore/future
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-08-21 01:20:25 +0800
committerkennytm <kennytm@gmail.com>2018-08-21 17:51:49 +0800
commitb5519db3236a94c1f090dcafaf38ef858ec33a26 (patch)
tree8dda85089b5fcfeaa4909389fa0777e6a908d4e0 /src/libcore/future
parent0834a1aea7e35deef88981eb90b12d62b6886fd6 (diff)
parent71120ef1e5cb885ee45e6148970db6ce93ce1aca (diff)
downloadrust-b5519db3236a94c1f090dcafaf38ef858ec33a26.tar.gz
rust-b5519db3236a94c1f090dcafaf38ef858ec33a26.zip
Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor
Fix typos found by codespell.
Diffstat (limited to 'src/libcore/future')
-rw-r--r--src/libcore/future/future_obj.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/future/future_obj.rs b/src/libcore/future/future_obj.rs
index 6045fac2b4b..2df870a011d 100644
--- a/src/libcore/future/future_obj.rs
+++ b/src/libcore/future/future_obj.rs
@@ -27,7 +27,7 @@ use task::{Context, Poll};
 /// - The `Future` trait is currently not object safe: The `Future::poll`
 ///   method makes uses the arbitrary self types feature and traits in which
 ///   this feature is used are currently not object safe due to current compiler
-///   limitations. (See tracking issue for arbitray self types for more
+///   limitations. (See tracking issue for arbitrary self types for more
 ///   information #44874)
 pub struct LocalFutureObj<'a, T> {
     ptr: *mut (),
@@ -102,7 +102,7 @@ impl<'a, T> Drop for LocalFutureObj<'a, T> {
 /// - The `Future` trait is currently not object safe: The `Future::poll`
 ///   method makes uses the arbitrary self types feature and traits in which
 ///   this feature is used are currently not object safe due to current compiler
-///   limitations. (See tracking issue for arbitray self types for more
+///   limitations. (See tracking issue for arbitrary self types for more
 ///   information #44874)
 pub struct FutureObj<'a, T>(LocalFutureObj<'a, T>);