diff options
Diffstat (limited to 'tokio-fs/src/read_link.rs')
-rw-r--r-- | tokio-fs/src/read_link.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio-fs/src/read_link.rs b/tokio-fs/src/read_link.rs index 927c3c65..a672c97d 100644 --- a/tokio-fs/src/read_link.rs +++ b/tokio-fs/src/read_link.rs @@ -1,9 +1,8 @@ +use futures::{Future, Poll}; use std::fs; use std::io; use std::path::{Path, PathBuf}; -use futures::{Future, Poll}; - /// Reads a symbolic link, returning the file that the link points to. /// /// This is an async version of [`std::fs::read_link`][std] @@ -39,6 +38,6 @@ where type Error = io::Error; fn poll(&mut self) -> Poll<Self::Item, Self::Error> { - ::blocking_io(|| fs::read_link(&self.path)) + crate::blocking_io(|| fs::read_link(&self.path)) } } |