about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-02-21 15:31:09 +0100
committerRalf Jung <post@ralfj.de>2019-02-21 15:31:09 +0100
commitbcc55e5e79585baba752b5016a905dbb3d1b1ef8 (patch)
treed6bfcdf94020d72cc9481ef20a22565f61484a28 /src
parent2db0e0d65c0215b1a5d232860c0c2ad3ec8c37d1 (diff)
downloadrust-bcc55e5e79585baba752b5016a905dbb3d1b1ef8.tar.gz
rust-bcc55e5e79585baba752b5016a905dbb3d1b1ef8.zip
we only list some examples of basic types
Diffstat (limited to 'src')
-rw-r--r--src/libcore/pin.rs2
1 files changed, 1 insertions, 1 deletions
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<P>`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function