File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ fn bind_and_accept(addr: SocketAddr)
138138## Implementation
139139
140140The ` stream! ` and ` try_stream! ` macros are implemented using proc macros.
141- The macro searches the syntax tree for instances of ` sender.send( $expr) ` and
141+ The macro searches the syntax tree for instances of ` yield $expr` and
142142transforms them into ` sender.send($expr).await ` .
143143
144144The stream uses a lightweight sender to send values from the stream
Original file line number Diff line number Diff line change 144144//! # Implementation
145145//!
146146//! The `stream!` and `try_stream!` macros are implemented using proc macros.
147- //! The macro searches the syntax tree for instances of `sender.send( $expr) ` and
147+ //! The macro searches the syntax tree for instances of `yield $expr` and
148148//! transforms them into `sender.send($expr).await`.
149149//!
150150//! The stream uses a lightweight sender to send values from the stream
You can’t perform that action at this time.
0 commit comments