Skip to content

Commit 343a6c1

Browse files
committed
expose std::pin
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
1 parent dd92d8d commit 343a6c1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@ pub mod prelude;
5151
pub mod stream;
5252
pub mod sync;
5353
pub mod task;
54+
pub mod pin;
5455

5556
pub(crate) mod utils;

src/pin.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//! Types that pin data to its location in memory.
2+
3+
#[doc(inline)]
4+
pub use std::pin::Pin;

0 commit comments

Comments
 (0)