diff options
-rw-r--r-- | tokio/src/net/addr.rs | 2 | ||||
-rw-r--r-- | tokio/src/stream/collect.rs | 2 | ||||
-rw-r--r-- | tokio/src/stream/mod.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/net/addr.rs b/tokio/src/net/addr.rs index ff80bc5c..5ba898a1 100644 --- a/tokio/src/net/addr.rs +++ b/tokio/src/net/addr.rs @@ -18,7 +18,7 @@ use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV /// conversion directly, use [`lookup_host()`](super::lookup_host()). /// /// This trait is sealed and is intended to be opaque. The details of the trait -/// will change. Stabilization is pending enhancements to the Rust langague. +/// will change. Stabilization is pending enhancements to the Rust language. pub trait ToSocketAddrs: sealed::ToSocketAddrsPriv {} type ReadyFuture<T> = future::Ready<io::Result<T>>; diff --git a/tokio/src/stream/collect.rs b/tokio/src/stream/collect.rs index f44c72b7..46494287 100644 --- a/tokio/src/stream/collect.rs +++ b/tokio/src/stream/collect.rs @@ -32,7 +32,7 @@ pin_project! { /// /// Currently, this trait may not be implemented by third parties. The trait is /// sealed in order to make changes in the future. Stabilization is pending -/// enhancements to the Rust langague. +/// enhancements to the Rust language. pub trait FromStream<T>: sealed::FromStreamPriv<T> {} impl<T, U> Collect<T, U> diff --git a/tokio/src/stream/mod.rs b/tokio/src/stream/mod.rs index f97bddb9..7b061efe 100644 --- a/tokio/src/stream/mod.rs +++ b/tokio/src/stream/mod.rs @@ -702,7 +702,7 @@ pub trait StreamExt: Stream { /// # Notes /// /// `FromStream` is currently a sealed trait. Stabilization is pending - /// enhancements to the Rust langague. + /// enhancements to the Rust language. /// /// # Examples /// |