summaryrefslogtreecommitdiffstats
path: root/tokio/src/stream
diff options
context:
space:
mode:
authorAntoine Murat <antoine.murat@etu.unilim.fr>2020-07-13 17:48:02 +0200
committerGitHub <noreply@github.com>2020-07-13 08:48:02 -0700
commita23d2b2274fbcbf423bb85683db4a7556c568a24 (patch)
tree761608142b012772926b1532c68c4ad897d055eb /tokio/src/stream
parent98e78314794607d0b402d5e45c66e3b8e38b819c (diff)
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
Diffstat (limited to 'tokio/src/stream')
-rw-r--r--tokio/src/stream/collect.rs2
-rw-r--r--tokio/src/stream/mod.rs2
2 files changed, 2 insertions, 2 deletions
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
///