forgot about the feature flag in the doctest
This commit is contained in:
parent
0df7364cdf
commit
9c5ae20c59
1 changed files with 1 additions and 0 deletions
|
@ -872,6 +872,7 @@ impl AtomicBool {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(atomic_bool_fetch_not)]
|
||||
/// use std::sync::atomic::{AtomicBool, Ordering};
|
||||
///
|
||||
/// let foo = AtomicBool::new(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue