Skip to content

Commit b746e2f

Browse files
author
leocth
committed
forgot about the feature flag in the doctest
1 parent 62684ff commit b746e2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/sync/atomic.rs

+1
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,7 @@ impl AtomicBool {
872872
/// # Examples
873873
///
874874
/// ```
875+
/// #![feature(atomic_bool_fetch_not)]
875876
/// use std::sync::atomic::{AtomicBool, Ordering};
876877
///
877878
/// let foo = AtomicBool::new(true);

0 commit comments

Comments
 (0)