mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-28 15:19:41 +00:00
Prepare for v0.99.0
This commit is contained in:
parent
f4ff5443c8
commit
3c42ecab8f
1 changed files with 2 additions and 1 deletions
|
@ -44,9 +44,10 @@
|
||||||
//! let mut buf = vec![];
|
//! let mut buf = vec![];
|
||||||
//!
|
//!
|
||||||
//! io::timeout(Duration::from_secs(5), async {
|
//! io::timeout(Duration::from_secs(5), async {
|
||||||
//! stream.read_to_end(&mut buf).await?
|
//! stream.read_to_end(&mut buf).await?;
|
||||||
//! Ok(buf)
|
//! Ok(buf)
|
||||||
//! })
|
//! })
|
||||||
|
//! .await
|
||||||
//! }
|
//! }
|
||||||
//!
|
//!
|
||||||
//! fn main() {
|
//! fn main() {
|
||||||
|
|
Loading…
Reference in a new issue