summaryrefslogtreecommitdiffstats
path: root/tokio/src/stream
diff options
context:
space:
mode:
authorArtem Vorotnikov <artem@vorotnikov.me>2020-01-16 18:29:02 +0300
committerLucio Franco <luciofranco14@gmail.com>2020-01-16 10:29:02 -0500
commit476bf0084a7abb86ed2338095da4c7297453f00c (patch)
tree7809f61538bf5a0fdd5a77ff561591a4b7efc573 /tokio/src/stream
parentbd8971cd95b2c182c16d8bfc5ee43754ee4e9c96 (diff)
chore: minor fixes (#2121)
* One more clippy fix, remove special instructions from CI * Fix Collect description
Diffstat (limited to 'tokio/src/stream')
-rw-r--r--tokio/src/stream/collect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/stream/collect.rs b/tokio/src/stream/collect.rs
index e8a58147..f44c72b7 100644
--- a/tokio/src/stream/collect.rs
+++ b/tokio/src/stream/collect.rs
@@ -9,7 +9,7 @@ use pin_project_lite::pin_project;
// Do not export this struct until `FromStream` can be unsealed.
pin_project! {
- /// Stream returned by the [`collect`](super::StreamExt::collect) method.
+ /// Future returned by the [`collect`](super::StreamExt::collect) method.
#[must_use = "streams do nothing unless polled"]
#[derive(Debug)]
pub struct Collect<T, U>