File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1025,7 +1025,7 @@ impl PackedVq {
1025
1025
if !self . dropped . borrow ( ) . is_empty ( ) {
1026
1026
self . dropped
1027
1027
. borrow_mut ( )
1028
- . drain_filter ( |tkn| tkn. state = = TransferState :: Finished ) ;
1028
+ . retain ( |tkn| tkn. state ! = TransferState :: Finished ) ;
1029
1029
}
1030
1030
}
1031
1031
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ impl SplitVq {
271
271
if !self . dropped . borrow ( ) . is_empty ( ) {
272
272
self . dropped
273
273
. borrow_mut ( )
274
- . drain_filter ( |tkn| tkn. state = = TransferState :: Finished ) ;
274
+ . retain ( |tkn| tkn. state ! = TransferState :: Finished ) ;
275
275
}
276
276
}
277
277
Original file line number Diff line number Diff line change 19
19
#![ feature( core_intrinsics) ]
20
20
#![ feature( alloc_error_handler) ]
21
21
#![ feature( vec_into_raw_parts) ]
22
- #![ feature( drain_filter) ]
23
22
#![ feature( strict_provenance) ]
24
23
#![ feature( is_some_and) ]
25
24
#![ cfg_attr( target_os = "none" , no_std) ]
You can’t perform that action at this time.
0 commit comments