Skip to content

Commit e97d53d

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

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
@@ -41,5 +41,6 @@ pub mod prelude;
4141
pub mod stream;
4242
pub mod sync;
4343
pub mod task;
44+
pub mod pin;
4445

4546
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)