Skip to content

Commit bcc55e5

Browse files
committed
we only list some examples of basic types
1 parent 2db0e0d commit bcc55e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
//!
4848
//! However, these restrictions are usually not necessary. Many types are always freely
4949
//! movable, even when pinned, because they do not rely on having a stable address.
50-
//! This includes all the basic types (`bool`, `i32` and friends, references)
50+
//! This includes all the basic types (like `bool`, `i32`, references)
5151
//! as well as types consisting solely of these types.
5252
//! Types that do not care about pinning implement the [`Unpin`] auto-trait, which
5353
//! cancels the effect of [`Pin<P>`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function

0 commit comments

Comments
 (0)