summaryrefslogtreecommitdiffstats
path: root/tokio-fs/src/create_dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-fs/src/create_dir.rs')
-rw-r--r--tokio-fs/src/create_dir.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio-fs/src/create_dir.rs b/tokio-fs/src/create_dir.rs
index 7ae71d7f..a07c1ad5 100644
--- a/tokio-fs/src/create_dir.rs
+++ b/tokio-fs/src/create_dir.rs
@@ -1,9 +1,8 @@
+use futures::{Future, Poll};
use std::fs;
use std::io;
use std::path::Path;
-use futures::{Future, Poll};
-
/// Creates a new, empty directory at the provided path
///
/// This is an async version of [`std::fs::create_dir`][std]
@@ -39,6 +38,6 @@ where
type Error = io::Error;
fn poll(&mut self) -> Poll<Self::Item, Self::Error> {
- ::blocking_io(|| fs::create_dir(&self.path))
+ crate::blocking_io(|| fs::create_dir(&self.path))
}
}