doc: fix typo from "Rust langague" to "Rust language" (#2656)

* doc: fix typo in addr

* doc: fix typo in stream

* doc: fix typo in stream/collect
This commit is contained in:
Antoine Murat
2020-07-13 08:48:02 -07:00
committed by GitHub
parent 98e7831479
commit a23d2b2274
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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>>;
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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
///