Moves val into .extend() instead of &mut and .into_iter() (#34285)

This commit is contained in:
Brooks 2023-12-01 14:38:01 -05:00 committed by GitHub
parent c9cb727b1f
commit 8fbe033eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6037,7 +6037,7 @@ impl Bank {
self.skipped_rewrites
.lock()
.unwrap()
.extend(&mut results.skipped_rewrites.into_iter());
.extend(results.skipped_rewrites);
// We cannot assert here that we collected from all expected keys.
// Some accounts may have been topped off or may have had all funds removed and gone to 0 lamports.