summaryrefslogtreecommitdiffstats
path: root/tokio-fs/src/os/windows/symlink_file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-fs/src/os/windows/symlink_file.rs')
-rw-r--r--tokio-fs/src/os/windows/symlink_file.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio-fs/src/os/windows/symlink_file.rs b/tokio-fs/src/os/windows/symlink_file.rs
index e27a1006..eb7c9d04 100644
--- a/tokio-fs/src/os/windows/symlink_file.rs
+++ b/tokio-fs/src/os/windows/symlink_file.rs
@@ -1,9 +1,8 @@
+use futures::{Future, Poll};
use std::io;
use std::os::windows::fs;
use std::path::Path;
-use futures::{Future, Poll};
-
/// Creates a new file symbolic link on the filesystem.
///
/// The `dst` path will be a file symbolic link pointing to the `src`
@@ -46,6 +45,6 @@ where
type Error = io::Error;
fn poll(&mut self) -> Poll<Self::Item, Self::Error> {
- ::blocking_io(|| fs::symlink_file(&self.src, &self.dst))
+ crate::blocking_io(|| fs::symlink_file(&self.src, &self.dst))
}
}