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 {
|
pub fn get_snapshot_storages(&self) -> SnapshotStorages {
|
||||||
self.rc
|
self.rc.get_snapshot_storages(self.slot())
|
||||||
.get_snapshot_storages(self.slot())
|
|
||||||
.into_iter()
|
|
||||||
.collect()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[must_use]
|
#[must_use]
|
||||||
|
|
Loading…
Reference in New Issue