remove unnecessary clone (#17559) (#17677)

(cherry picked from commit 1d02dba06f)

Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-06-02 19:59:55 +00:00
committed by GitHub
parent e864bf4898
commit 53e0f5d61c

View File

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