Skip to content

Conversation

joshtriplett
Copy link
Contributor

async_std::io exports Read, ReadExt, Write, WriteExt,
BufRead, and Seek. But it does not export BufReadExt and
SeekExt; those only appear in async_std::io::prelude.

Export both BufReadExt and SeekExt from async_std::io. This makes
it easier for code not using the prelude to import all of the I/O traits
it uses from the same module.

`async_std::io` exports `Read`, `ReadExt`, `Write`, `WriteExt`,
`BufRead`, and `Seek`. But it does not export `BufReadExt` and
`SeekExt`; those only appear in `async_std::io::prelude`.

Export both `BufReadExt` and `SeekExt` from `async_std::io`. This makes
it easier for code not using the prelude to import all of the I/O traits
it uses from the same module.
@joshtriplett joshtriplett merged commit 996ff48 into async-rs:main Jun 20, 2022
@joshtriplett joshtriplett deleted the seek-ext branch June 20, 2022 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants