We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85a4df8 + 547e12b commit e09d3bcCopy full SHA for e09d3bc
src/core.rs
@@ -384,7 +384,7 @@ impl<
384
}
385
// Iterates over thread handles to see if they timed out or if we need to join
386
// terminated threads.
387
- worker_handles.drain_filter(|instance, handle| {
+ let _ = worker_handles.extract_if(|instance, handle| {
388
// If there is still an handle associated to this thread...
389
if let Some(join_handle) = handle.join_handle.as_mut() {
390
// ... and the thread has finished running...
src/lib.rs
@@ -157,7 +157,7 @@
157
158
159
#![feature(exclusive_range_pattern)]
160
-#![feature(hash_drain_filter)]
+#![feature(hash_extract_if)]
161
#![feature(iterator_try_collect)]
162
#![feature(map_try_insert)]
163
#![feature(portable_simd)]
0 commit comments