Skip to content

Commit

Permalink
gate reexports from io::vec::util with io_util
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Nov 3, 2020
1 parent 403c46b commit a0425e7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tokio/src/io/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
mod async_vectored_write;
pub use async_vectored_write::AsyncVectoredWrite;

mod util;
pub use util::{AsyncVectoredWriteExt, WriteVectored};
cfg_io_util! {

mod util;
pub use util::{AsyncVectoredWriteExt, WriteVectored};

}

0 comments on commit a0425e7

Please sign in to comment.