diff --git a/src/lib.rs b/src/lib.rs index 01813e4..af94219 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,5 +51,6 @@ pub mod prelude; pub mod stream; pub mod sync; pub mod task; +pub mod pin; pub(crate) mod utils; diff --git a/src/pin.rs b/src/pin.rs new file mode 100644 index 0000000..e0375c0 --- /dev/null +++ b/src/pin.rs @@ -0,0 +1,4 @@ +//! Types that pin data to its location in memory. + +#[doc(inline)] +pub use std::pin::Pin;