about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-04-15 11:23:21 +0900
committerTaiki Endo <te316e89@gmail.com>2019-04-18 14:47:35 +0900
commit360432f1e8794de58cd94f34c9c17ad65871e5b5 (patch)
treec4529f81addb47358f885fda80e881198a592578 /src/libcore/task
parent9387927ae2c0d2a283f6c48b705f25d38bb6e692 (diff)
downloadrust-360432f1e8794de58cd94f34c9c17ad65871e5b5.tar.gz
rust-360432f1e8794de58cd94f34c9c17ad65871e5b5.zip
libcore => 2018
Diffstat (limited to 'src/libcore/task')
-rw-r--r--src/libcore/task/poll.rs4
-rw-r--r--src/libcore/task/wake.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/task/poll.rs b/src/libcore/task/poll.rs
index c811f96ace3..ecf03afb88e 100644
--- a/src/libcore/task/poll.rs
+++ b/src/libcore/task/poll.rs
@@ -2,8 +2,8 @@
             reason = "futures in libcore are unstable",
             issue = "50547")]
 
-use ops::Try;
-use result::Result;
+use crate::ops::Try;
+use crate::result::Result;
 
 /// Indicates whether a value is available or if the current task has been
 /// scheduled to receive a wakeup instead.
diff --git a/src/libcore/task/wake.rs b/src/libcore/task/wake.rs
index 006cbbb6ce6..1d3140070f3 100644
--- a/src/libcore/task/wake.rs
+++ b/src/libcore/task/wake.rs
@@ -2,8 +2,8 @@
             reason = "futures in libcore are unstable",
             issue = "50547")]
 
-use fmt;
-use marker::{PhantomData, Unpin};
+use crate::fmt;
+use crate::marker::{PhantomData, Unpin};
 
 /// A `RawWaker` allows the implementor of a task executor to create a [`Waker`]
 /// which provides customized wakeup behavior.