1
Fork 0

forgot about the feature flag in the doctest

This commit is contained in:
leocth 2022-06-26 10:48:17 +08:00
parent 0df7364cdf
commit 9c5ae20c59

View file

@ -872,6 +872,7 @@ impl AtomicBool {
/// # Examples /// # Examples
/// ///
/// ``` /// ```
/// #![feature(atomic_bool_fetch_not)]
/// use std::sync::atomic::{AtomicBool, Ordering}; /// use std::sync::atomic::{AtomicBool, Ordering};
/// ///
/// let foo = AtomicBool::new(true); /// let foo = AtomicBool::new(true);