mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +02:00
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:
@@ -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>>;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user