about summary refs log tree commit diff
path: root/src/libcore/sync
diff options
context:
space:
mode:
authorPoliorcetics <poliorcetics@users.noreply.github.com>2020-06-06 22:30:09 +0200
committerGitHub <noreply@github.com>2020-06-06 22:30:09 +0200
commit53984569e289867c2fb4518f6345928571fd053a (patch)
tree009d20907f769e276f5524d45dbb65041e73aebd /src/libcore/sync
parent7897f60021b95b853b28e600ee858e21f49e8575 (diff)
downloadrust-53984569e289867c2fb4518f6345928571fd053a.tar.gz
rust-53984569e289867c2fb4518f6345928571fd053a.zip
Only mention `u8` and not booleans
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
Diffstat (limited to 'src/libcore/sync')
-rw-r--r--src/libcore/sync/atomic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs
index aec679dd4f8..477cb24d6be 100644
--- a/src/libcore/sync/atomic.rs
+++ b/src/libcore/sync/atomic.rs
@@ -154,7 +154,7 @@ pub fn spin_loop_hint() {
 /// This type has the same in-memory representation as a [`bool`].
 ///
 /// **Note**: This type is only available on platforms that support atomic
-/// loads and stores of booleans (as `u8`).
+/// loads and stores of `u8`.
 ///
 /// [`bool`]: ../../../std/primitive.bool.html
 #[cfg(target_has_atomic_load_store = "8")]