Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 5edd032

Browse files
author
steviez
authored
Remove unnecessary clone (#32707)
1 parent 8076b0f commit 5edd032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/src/accounts_background_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ impl AccountsBackgroundService {
594594
let start_time = Instant::now();
595595

596596
// Grab the current root bank
597-
let bank = bank_forks.read().unwrap().root_bank().clone();
597+
let bank = bank_forks.read().unwrap().root_bank();
598598

599599
// Purge accounts of any dead slots
600600
request_handlers

0 commit comments

Comments
 (0)