Skip to content

Commit cd13016

Browse files
authored
Rollup merge of rust-lang#57683 - xfix:patch-15, r=QuietMisdreavus
Document Unpin in std::prelude documentation
2 parents 7fdea93 + e4e8885 commit cd13016

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libstd/prelude/mod.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
//! The current version of the prelude (version 1) lives in
4545
//! [`std::prelude::v1`], and re-exports the following.
4646
//!
47-
//! * [`std::marker`]::{[`Copy`], [`Send`], [`Sized`], [`Sync`]}. The marker
48-
//! traits indicate fundamental properties of types.
47+
//! * [`std::marker`]::{[`Copy`], [`Send`], [`Sized`], [`Sync`], [`Unpin`]}. The
48+
//! marker traits indicate fundamental properties of types.
4949
//! * [`std::ops`]::{[`Drop`], [`Fn`], [`FnMut`], [`FnOnce`]}. Various
5050
//! operations for both destructors and overloading `()`.
5151
//! * [`std::mem`]::[`drop`][`mem::drop`], a convenience function for explicitly
@@ -108,6 +108,7 @@
108108
//! [`Sync`]: ../marker/trait.Sync.html
109109
//! [`ToOwned`]: ../borrow/trait.ToOwned.html
110110
//! [`ToString`]: ../string/trait.ToString.html
111+
//! [`Unpin`]: ../marker/trait.Unpin.html
111112
//! [`Vec`]: ../vec/struct.Vec.html
112113
//! [`Clone::clone`]: ../clone/trait.Clone.html#tymethod.clone
113114
//! [`mem::drop`]: ../mem/fn.drop.html

0 commit comments

Comments
 (0)