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<
384384 }
385385 // Iterates over thread handles to see if they timed out or if we need to join
386386 // terminated threads.
387- worker_handles. drain_filter ( |instance, handle| {
387+ let _ = worker_handles. extract_if ( |instance, handle| {
388388 // If there is still an handle associated to this thread...
389389 if let Some ( join_handle) = handle. join_handle . as_mut ( ) {
390390 // ... and the thread has finished running...
Original file line number Diff line number Diff line change 157157
158158
159159#![ feature( exclusive_range_pattern) ]
160- #![ feature( hash_drain_filter ) ]
160+ #![ feature( hash_extract_if ) ]
161161#![ feature( iterator_try_collect) ]
162162#![ feature( map_try_insert) ]
163163#![ feature( portable_simd) ]
You can’t perform that action at this time.
0 commit comments