Skip to content

Commit 996ff48

Browse files
authored
Merge pull request #1029 from joshtriplett/seek-ext
Export `BufReadExt` and `SeekExt` from `async_std::io`
2 parents 955fa65 + ba24561 commit 996ff48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/io/buf_read/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ pub trait BufReadExt: BufRead {
239239

240240
impl<T: BufRead + ?Sized> BufReadExt for T {}
241241

242-
pub fn read_until_internal<R: BufReadExt + ?Sized>(
242+
pub(crate) fn read_until_internal<R: BufReadExt + ?Sized>(
243243
mut reader: Pin<&mut R>,
244244
cx: &mut Context<'_>,
245245
byte: u8,

src/io/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,15 @@ cfg_std! {
275275
#[doc(inline)]
276276
pub use std::io::{Error, ErrorKind, IoSlice, IoSliceMut, Result, SeekFrom};
277277

278-
pub use buf_read::{BufRead, Lines, Split};
278+
pub use buf_read::*;
279279
pub use buf_reader::BufReader;
280280
pub use buf_writer::{BufWriter, IntoInnerError};
281281
pub use copy::copy;
282282
pub use cursor::Cursor;
283283
pub use empty::{empty, Empty};
284284
pub use read::*;
285285
pub use repeat::{repeat, Repeat};
286-
pub use seek::Seek;
286+
pub use seek::*;
287287
pub use sink::{sink, Sink};
288288
pub use write::*;
289289

0 commit comments

Comments
 (0)