File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,7 @@ extension_trait! {
318318 #[ doc = r#"
319319 Limit the amount of items yielded per timeslice in a stream.
320320
321+ This stream does not drop any items, but will only limit the rate at which items pass through.
321322 # Examples
322323 ```
323324 # fn main() { async_std::task::block_on(async {
Original file line number Diff line number Diff line change @@ -9,7 +9,13 @@ use crate::stream::Stream;
99use crate :: task:: { Context , Poll } ;
1010
1111pin_project ! {
12- /// A stream that only yields one element once every `duration`, and applies backpressure. Does not drop any elements.
12+ /// A stream that only yields one element once every `duration`.
13+ ///
14+ /// This `struct` is created by the [`throttle`] method on [`Stream`]. See its
15+ /// documentation for more.
16+ ///
17+ /// [`throttle`]: trait.Stream.html#method.throttle
18+ /// [`Stream`]: trait.Stream.html
1319 #[ doc( hidden) ]
1420 #[ allow( missing_debug_implementations) ]
1521 pub struct Throttle <S > {
You can’t perform that action at this time.
0 commit comments