summaryrefslogtreecommitdiffstats
path: root/tokio-fs/src/create_dir_all.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-fs/src/create_dir_all.rs')
-rw-r--r--tokio-fs/src/create_dir_all.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio-fs/src/create_dir_all.rs b/tokio-fs/src/create_dir_all.rs
index 67b0aaf1..9f034fa4 100644
--- a/tokio-fs/src/create_dir_all.rs
+++ b/tokio-fs/src/create_dir_all.rs
@@ -1,9 +1,8 @@
+use futures::{Future, Poll};
use std::fs;
use std::io;
use std::path::Path;
-use futures::{Future, Poll};
-
/// Recursively create a directory and all of its parent components if they
/// are missing.
///
@@ -40,6 +39,6 @@ where
type Error = io::Error;
fn poll(&mut self) -> Poll<Self::Item, Self::Error> {
- ::blocking_io(|| fs::create_dir_all(&self.path))
+ crate::blocking_io(|| fs::create_dir_all(&self.path))
}
}