Commit c45b7e4 1 parent 5f9aed7 commit c45b7e4 Copy full SHA for c45b7e4
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ impl InfraCache {
556
556
}
557
557
558
558
/// Apply an operation to the infra cache
559
- pub fn apply_operations ( & mut self , operations : & Vec < CacheOperation > ) -> Result < ( ) > {
559
+ pub fn apply_operations ( & mut self , operations : & [ CacheOperation ] ) -> Result < ( ) > {
560
560
for op_res in operations {
561
561
match op_res {
562
562
CacheOperation :: Delete ( obj_ref) => self . apply_delete ( obj_ref) ?,
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ async fn fix_infra(infra_cache: &mut InfraCache) -> Result<Vec<Operation>> {
93
93
CacheOperation :: Delete ( delete_operation. clone ( ) . into ( ) )
94
94
}
95
95
} )
96
- . collect ( ) ;
96
+ . collect :: < Vec < _ > > ( ) ;
97
97
infra_cache
98
98
. apply_operations ( & cache_operations)
99
99
. map_err ( |source| AutoFixesEditoastError :: FixTrialFailure { source } ) ?;
You can’t perform that action at this time.
0 commit comments