Skip to content

Commit 1c1eb15

Browse files
committed
link to sink, empty
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 7585b93 commit 1c1eb15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
//! Combine a reader + writer into a duplex of Read + Write.
22
//!
3+
//! This is useful when you need a reader + writer, but it doesn't come neatly
4+
//! pre-packaged. This allows wiring it together with minimal effort.
5+
//! See also: [`io::empty`], [`io::sink`].
6+
//!
7+
//! [`io::empty`]: https://docs.rs/async-std/1.1.0/async_std/io/fn.empty.html
8+
//! [`io::sink`]: https://docs.rs/async-std/1.1.0/async_std/io/fn.sink.html
9+
//!
310
//! # Examples
411
//!
512
//! Read a line from stdin, and write it to stdout. All from the same `stdio`

0 commit comments

Comments
 (0)