diff options
Diffstat (limited to 'tokio-fs/src/remove_file.rs')
-rw-r--r-- | tokio-fs/src/remove_file.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio-fs/src/remove_file.rs b/tokio-fs/src/remove_file.rs index da273f68..d2d4b86d 100644 --- a/tokio-fs/src/remove_file.rs +++ b/tokio-fs/src/remove_file.rs @@ -1,9 +1,8 @@ +use futures::{Future, Poll}; use std::fs; use std::io; use std::path::Path; -use futures::{Future, Poll}; - /// Removes a file from the filesystem. /// /// Note that there is no @@ -43,6 +42,6 @@ where type Error = io::Error; fn poll(&mut self) -> Poll<Self::Item, Self::Error> { - ::blocking_io(|| fs::remove_file(&self.path)) + crate::blocking_io(|| fs::remove_file(&self.path)) } } |