We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 625bcc4 commit 521c81aCopy full SHA for 521c81a
alloc/src/sync.rs
@@ -197,11 +197,7 @@ macro_rules! acquire {
197
///
198
/// Sharing some immutable data between threads:
199
200
-// Note that we **do not** run these tests here. The windows builders get super
201
-// unhappy if a thread outlives the main thread and then exits at the same time
202
-// (something deadlocks) so we just avoid this entirely by not running these
203
-// tests.
204
-/// ```no_run
+/// ```
205
/// use std::sync::Arc;
206
/// use std::thread;
207
@@ -220,7 +216,7 @@ macro_rules! acquire {
220
216
221
217
/// [`AtomicUsize`]: core::sync::atomic::AtomicUsize "sync::atomic::AtomicUsize"
222
218
223
219
224
225
/// use std::sync::atomic::{AtomicUsize, Ordering};
226
0 commit comments