Skip to content

Commit

Permalink
forgot about the feature flag in the doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
leocth committed Jun 26, 2022
1 parent 0df7364 commit 9c5ae20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,7 @@ impl AtomicBool {
/// # Examples
///
/// ```
/// #![feature(atomic_bool_fetch_not)]
/// use std::sync::atomic::{AtomicBool, Ordering};
///
/// let foo = AtomicBool::new(true);
Expand Down

0 comments on commit 9c5ae20

Please sign in to comment.