From 09730e9a28468c221f41a63446cf833039a51c58 Mon Sep 17 00:00:00 2001 From: Dmytro Kozhevin Date: Tue, 10 Dec 2024 19:44:24 -0500 Subject: [PATCH] !fixup simulation fixes --- soroban-simulation/src/snapshot_source.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/soroban-simulation/src/snapshot_source.rs b/soroban-simulation/src/snapshot_source.rs index f2eb15537..f177e904b 100644 --- a/soroban-simulation/src/snapshot_source.rs +++ b/soroban-simulation/src/snapshot_source.rs @@ -162,7 +162,7 @@ enum SnapshotSourceHolder<'a> { Rc(Rc), } -impl<'a> SnapshotSource for SnapshotSourceHolder<'a> { +impl SnapshotSource for SnapshotSourceHolder<'_> { fn get(&self, key: &Rc) -> Result, HostError> { match self { SnapshotSourceHolder::Ref(r) => r.get(key), @@ -216,7 +216,7 @@ impl<'a, T: SnapshotSourceWithArchive> SimulationSnapshotSourceWithArchive<'a, T } } -impl<'a> SnapshotSource for SimulationSnapshotSource<'a> { +impl SnapshotSource for SimulationSnapshotSource<'_> { fn get(&self, key: &Rc) -> Result, HostError> { Ok(self .entry_updater @@ -225,8 +225,8 @@ impl<'a> SnapshotSource for SimulationSnapshotSource<'a> { } } -impl<'a, T: SnapshotSourceWithArchive> SnapshotSourceWithArchive - for SimulationSnapshotSourceWithArchive<'a, T> +impl SnapshotSourceWithArchive + for SimulationSnapshotSourceWithArchive<'_, T> { fn get_including_archived( &self,