remove unnecessary clone (#17559)

This commit is contained in:
Jeff Washington (jwash) 2021-05-28 10:30:01 -05:00 committed by GitHub
parent 55c22d3b76
commit 1d02dba06f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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]