Only mention u8 and not booleans

Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
Poliorcetics 2020-06-06 22:30:09 +02:00 committed by GitHub
parent 7897f60021
commit 53984569e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")]