remove unnecessary clone (#17559)
This commit is contained in:
parent
55c22d3b76
commit
1d02dba06f
|
@ -4537,10 +4537,7 @@ impl Bank {
|
|||
}
|
||||
|
||||
pub fn get_snapshot_storages(&self) -> SnapshotStorages {
|
||||
self.rc
|
||||
.get_snapshot_storages(self.slot())
|
||||
.into_iter()
|
||||
.collect()
|
||||
self.rc.get_snapshot_storages(self.slot())
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
|
|
Loading…
Reference in New Issue