Merge pull request #1029 from joshtriplett/seek-ext

Export `BufReadExt` and `SeekExt` from `async_std::io`
pull/1031/head
Josh Triplett 3 years ago committed by GitHub
commit 996ff48f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -239,7 +239,7 @@ pub trait BufReadExt: BufRead {
impl<T: BufRead + ?Sized> BufReadExt for T {}
pub fn read_until_internal<R: BufReadExt + ?Sized>(
pub(crate) fn read_until_internal<R: BufReadExt + ?Sized>(
mut reader: Pin<&mut R>,
cx: &mut Context<'_>,
byte: u8,

@ -275,7 +275,7 @@ cfg_std! {
#[doc(inline)]
pub use std::io::{Error, ErrorKind, IoSlice, IoSliceMut, Result, SeekFrom};
pub use buf_read::{BufRead, Lines, Split};
pub use buf_read::*;
pub use buf_reader::BufReader;
pub use buf_writer::{BufWriter, IntoInnerError};
pub use copy::copy;
@ -283,7 +283,7 @@ cfg_std! {
pub use empty::{empty, Empty};
pub use read::*;
pub use repeat::{repeat, Repeat};
pub use seek::Seek;
pub use seek::*;
pub use sink::{sink, Sink};
pub use write::*;

Loading…
Cancel
Save