@@ -197,11 +197,7 @@ macro_rules! acquire { |
|
|
197 |
197 |
/// |
198 |
198 |
/// Sharing some immutable data between threads: |
199 |
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 |
|
200 |
+/// ``` |
205 |
201 |
/// use std::sync::Arc; |
206 |
202 |
/// use std::thread; |
207 |
203 |
/// |
@@ -220,7 +216,7 @@ macro_rules! acquire { |
|
|
220 |
216 |
/// |
221 |
217 |
/// [`AtomicUsize`]: core::sync::atomic::AtomicUsize "sync::atomic::AtomicUsize" |
222 |
218 |
/// |
223 |
|
-/// ```no_run |
|
219 |
+/// ``` |
224 |
220 |
/// use std::sync::Arc; |
225 |
221 |
/// use std::sync::atomic::{AtomicUsize, Ordering}; |
226 |
222 |
/// use std::thread; |