Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ pub mod stream;
pub mod sync;
pub mod task;

#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[cfg(feature = "unstable")]
pub mod pin;

pub(crate) mod utils;
6 changes: 6 additions & 0 deletions src/pin.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//! Types that pin data to its location in memory.
//!
//! For more documentation see [`std::pin`](https://doc.rust-lang.org/std/pin/index.html).

#[doc(inline)]
pub use std::pin::Pin;