From bcc55e5e79585baba752b5016a905dbb3d1b1ef8 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 21 Feb 2019 15:31:09 +0100 Subject: [PATCH] we only list some examples of basic types --- src/libcore/pin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/pin.rs b/src/libcore/pin.rs index e045702bca2..d4446faed7b 100644 --- a/src/libcore/pin.rs +++ b/src/libcore/pin.rs @@ -47,7 +47,7 @@ //! //! However, these restrictions are usually not necessary. Many types are always freely //! movable, even when pinned, because they do not rely on having a stable address. -//! This includes all the basic types (`bool`, `i32` and friends, references) +//! This includes all the basic types (like `bool`, `i32`, references) //! as well as types consisting solely of these types. //! Types that do not care about pinning implement the [`Unpin`] auto-trait, which //! cancels the effect of [`Pin

`]. For `T: Unpin`, `Pin>` and `Box` function