From cec9efeb7a7fc5dd2f4e335fa48e5b07bce12ca4 Mon Sep 17 00:00:00 2001 From: David Wilemski Date: Wed, 20 Feb 2019 13:24:48 -0800 Subject: [PATCH] Fix summary of tokio::util::StreamExt (#861) The `throttle` function was not mentioned in the summary block but is listed as a method for the trait. --- src/util/stream.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/stream.rs b/src/util/stream.rs index d4e57c376..8f3d7e81d 100644 --- a/src/util/stream.rs +++ b/src/util/stream.rs @@ -13,8 +13,8 @@ pub use util::enumerate::Enumerate; /// An extension trait for `Stream` that provides a variety of convenient /// combinator functions. /// -/// Currently, there only is a [`timeout`] function, but this will increase -/// over time. +/// Currently, there are only [`timeout`] and [`throttle`] functions, but +/// this will increase over time. /// /// Users are not expected to implement this trait. All types that implement /// `Stream` already implement `StreamExt`.