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.
This commit is contained in:
David Wilemski 2019-02-20 13:24:48 -08:00 committed by Carl Lerche
parent f9345f99bb
commit cec9efeb7a

View File

@ -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`.