File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ impl<
384
384
}
385
385
// Iterates over thread handles to see if they timed out or if we need to join
386
386
// terminated threads.
387
- worker_handles. drain_filter ( |instance, handle| {
387
+ let _ = worker_handles. extract_if ( |instance, handle| {
388
388
// If there is still an handle associated to this thread...
389
389
if let Some ( join_handle) = handle. join_handle . as_mut ( ) {
390
390
// ... and the thread has finished running...
Original file line number Diff line number Diff line change 157
157
158
158
159
159
#![ feature( exclusive_range_pattern) ]
160
- #![ feature( hash_drain_filter ) ]
160
+ #![ feature( hash_extract_if ) ]
161
161
#![ feature( iterator_try_collect) ]
162
162
#![ feature( map_try_insert) ]
163
163
#![ feature( portable_simd) ]
You can’t perform that action at this time.
0 commit comments