about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-18 17:48:21 +0000
committerbors <bors@rust-lang.org>2019-04-18 17:48:21 +0000
commit5d20ff4d2718c820632b38c1e49d4de648a9810b (patch)
treea9aa3fcb675be47650c5dd9d35a76f65784e8850 /src/libcore/task
parentd6f513ec7d1e83c8689f94fb48686dd11f1d1c80 (diff)
parente28bce7a518824a90a23f1e1e79ba62507d9dc44 (diff)
Auto merge of #58702 - taiki-e:libcore-2018, r=Centril
libcore => 2018

Transitions `libcore` to Rust 2018; cc #58099

r? @Centril
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.