about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2019-01-17 00:39:15 +0100
committerGitHub <noreply@github.com>2019-01-17 00:39:15 +0100
commite4e888534eae603dfd0d9f9e75e8bb21d5e35f06 (patch)
treea4b66f53330d585a7915b2c4bf79b64fde002255 /src
parentceb2512144d1fc26330e85fb9d41c22ba1866259 (diff)
downloadrust-e4e888534eae603dfd0d9f9e75e8bb21d5e35f06.tar.gz
rust-e4e888534eae603dfd0d9f9e75e8bb21d5e35f06.zip
Document Unpin in std::prelude documentation
Diffstat (limited to 'src')
-rw-r--r--src/libstd/prelude/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/prelude/mod.rs b/src/libstd/prelude/mod.rs
index ec8318f3728..bf689bad559 100644
--- a/src/libstd/prelude/mod.rs
+++ b/src/libstd/prelude/mod.rs
@@ -44,8 +44,8 @@
 //! The current version of the prelude (version 1) lives in
 //! [`std::prelude::v1`], and re-exports the following.
 //!
-//! * [`std::marker`]::{[`Copy`], [`Send`], [`Sized`], [`Sync`]}. The marker
-//!   traits indicate fundamental properties of types.
+//! * [`std::marker`]::{[`Copy`], [`Send`], [`Sized`], [`Sync`], [`Unpin`]}. The
+//!   marker traits indicate fundamental properties of types.
 //! * [`std::ops`]::{[`Drop`], [`Fn`], [`FnMut`], [`FnOnce`]}. Various
 //!   operations for both destructors and overloading `()`.
 //! * [`std::mem`]::[`drop`][`mem::drop`], a convenience function for explicitly
@@ -108,6 +108,7 @@
 //! [`Sync`]: ../marker/trait.Sync.html
 //! [`ToOwned`]: ../borrow/trait.ToOwned.html
 //! [`ToString`]: ../string/trait.ToString.html
+//! [`Unpin`]: ../marker/trait.Unpin.html
 //! [`Vec`]: ../vec/struct.Vec.html
 //! [`Clone::clone`]: ../clone/trait.Clone.html#tymethod.clone
 //! [`mem::drop`]: ../mem/fn.drop.html