diff options
author | Taiki Endo <te316e89@gmail.com> | 2019-11-17 15:03:39 +0900 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-11-16 22:03:39 -0800 |
commit | 10dc659450d83c21de9661fc084ae83b4878098b (patch) | |
tree | 11334e3781fb67f76b44a3906f0ade4ab26c49a2 /tokio/src/fs/file.rs | |
parent | 320c84a433e5e54e386c17098fc6d36d15e4acff (diff) |
io: expose std{in, out, err} under io feature (#1759)
This exposes `std{in, out, err}` under io feature by moving
`fs::blocking` module into `io::blocking`.
As `fs` feature depends on `io-trait` feature, `fs` implementations can
always access `io` module.
Diffstat (limited to 'tokio/src/fs/file.rs')
-rw-r--r-- | tokio/src/fs/file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/fs/file.rs b/tokio/src/fs/file.rs index 0ff45025..af7be586 100644 --- a/tokio/src/fs/file.rs +++ b/tokio/src/fs/file.rs @@ -3,8 +3,8 @@ //! [`File`]: file/struct.File.html use self::State::*; -use crate::fs::blocking::Buf; use crate::fs::{asyncify, sys}; +use crate::io::blocking::Buf; use crate::io::{AsyncRead, AsyncWrite}; use std::fmt; |