Skip to content

Commit 3ae7631

Browse files
authored
Remove outdated descriptions from docs (#36)
1 parent 8173850 commit 3ae7631

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

async-stream/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ fn bind_and_accept(addr: SocketAddr)
138138
## Implementation
139139

140140
The `stream!` and `try_stream!` macros are implemented using proc macros.
141-
Given that proc macros in expression position are not supported on stable
142-
rust, a hack similar to the one provided by the [`proc-macro-hack`] crate is
143-
used. The macro searches the syntax tree for instances of `sender.send($expr)` and
141+
The macro searches the syntax tree for instances of `sender.send($expr)` and
144142
transforms them into `sender.send($expr).await`.
145143

146144
The stream uses a lightweight sender to send values from the stream

async-stream/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@
145145
//! # Implementation
146146
//!
147147
//! The `stream!` and `try_stream!` macros are implemented using proc macros.
148-
//! Given that proc macros in expression position are not supported on stable
149-
//! rust, a hack similar to the one provided by the [`proc-macro-hack`] crate is
150-
//! used. The macro searches the syntax tree for instances of `sender.send($expr)` and
148+
//! The macro searches the syntax tree for instances of `sender.send($expr)` and
151149
//! transforms them into `sender.send($expr).await`.
152150
//!
153151
//! The stream uses a lightweight sender to send values from the stream

0 commit comments

Comments
 (0)