Skip to content

Commit 9c5ae20

Browse files
author
leocth
committed
forgot about the feature flag in the doctest
1 parent 0df7364 commit 9c5ae20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/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)