File tree 2 files changed +2
-2
lines changed
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)
138
138
## Implementation
139
139
140
140
The ` 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
142
142
transforms them into ` sender.send($expr).await ` .
143
143
144
144
The stream uses a lightweight sender to send values from the stream
Original file line number Diff line number Diff line change 144
144
//! # Implementation
145
145
//!
146
146
//! 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
148
148
//! transforms them into `sender.send($expr).await`.
149
149
//!
150
150
//! The stream uses a lightweight sender to send values from the stream
You can’t perform that action at this time.
0 commit comments