about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorNiv Kaminer <nivkner@zoho.com>2018-08-21 15:24:14 +0300
committerNiv Kaminer <nivkner@zoho.com>2018-08-23 02:13:01 +0300
commitbfed149020cc48260056c8621d93a7931fba6bde (patch)
tree6921929318385b870c268b9f483ccba134290447 /src/liballoc
parent871e89b3519ae794cc3e7bd9429e1d867eb541fb (diff)
downloadrust-bfed149020cc48260056c8621d93a7931fba6bde.tar.gz
rust-bfed149020cc48260056c8621d93a7931fba6bde.zip
reexport Unpin into pin module
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/pin.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/pin.rs b/src/liballoc/pin.rs
index a1abaf74b26..a5bc4c75bd5 100644
--- a/src/liballoc/pin.rs
+++ b/src/liballoc/pin.rs
@@ -96,11 +96,12 @@
 #![unstable(feature = "pin", issue = "49150")]
 
 pub use core::pin::*;
+pub use core::marker::Unpin;
 
 use core::convert::From;
 use core::fmt;
 use core::future::{Future, FutureObj, LocalFutureObj, UnsafeFutureObj};
-use core::marker::{Unpin, Unsize};
+use core::marker::Unsize;
 use core::ops::{CoerceUnsized, Deref, DerefMut};
 use core::task::{Context, Poll};