From 53984569e289867c2fb4518f6345928571fd053a Mon Sep 17 00:00:00 2001 From: Poliorcetics Date: Sat, 6 Jun 2020 22:30:09 +0200 Subject: [PATCH] Only mention `u8` and not booleans Co-authored-by: Amanieu d'Antras --- src/libcore/sync/atomic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index aec679dd4f8d..477cb24d6be6 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")]