summaryrefslogtreecommitdiffstats
path: root/tokio-fs/src/os/unix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-fs/src/os/unix.rs')
-rw-r--r--tokio-fs/src/os/unix.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio-fs/src/os/unix.rs b/tokio-fs/src/os/unix.rs
index 9bd8566b..84b62c8f 100644
--- a/tokio-fs/src/os/unix.rs
+++ b/tokio-fs/src/os/unix.rs
@@ -1,11 +1,10 @@
//! Unix-specific extensions to primitives in the `tokio_fs` module.
+use futures::{Future, Poll};
use std::io;
use std::os::unix::fs;
use std::path::Path;
-use futures::{Future, Poll};
-
/// Creates a new symbolic link on the filesystem.
///
/// The `dst` path will be a symbolic link pointing to the `src` path.
@@ -47,6 +46,6 @@ where
type Error = io::Error;
fn poll(&mut self) -> Poll<Self::Item, Self::Error> {
- ::blocking_io(|| fs::symlink(&self.src, &self.dst))
+ crate::blocking_io(|| fs::symlink(&self.src, &self.dst))
}
}