diff options
| author | leocth <leocth31@gmail.com> | 2022-06-26 10:48:17 +0800 |
|---|---|---|
| committer | leocth <leocth31@gmail.com> | 2022-06-26 10:49:05 +0800 |
| commit | 9c5ae20c5952824614a3d2c67a467f2c0d0d9d86 (patch) | |
| tree | e2ab87ccc0a45bed804b947bd7c2834976fc0a9a | |
| parent | 0df7364cdf7adf2b9446395c01915d377a4155ec (diff) | |
| download | rust-9c5ae20c5952824614a3d2c67a467f2c0d0d9d86.tar.gz rust-9c5ae20c5952824614a3d2c67a467f2c0d0d9d86.zip | |
forgot about the feature flag in the doctest
| -rw-r--r-- | library/core/src/sync/atomic.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index 92afdab2999..b974b431b78 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -872,6 +872,7 @@ impl AtomicBool { /// # Examples /// /// ``` + /// #![feature(atomic_bool_fetch_not)] /// use std::sync::atomic::{AtomicBool, Ordering}; /// /// let foo = AtomicBool::new(true); |
