From 078c9bc626710a990c23ecd725a701d0b5276bd2 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 22 Oct 2021 17:50:25 +1100 Subject: [PATCH] Merge impl blocks with same bounds --- daemon/src/oracle.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/daemon/src/oracle.rs b/daemon/src/oracle.rs index 73ad1ce..4005e1b 100644 --- a/daemon/src/oracle.rs +++ b/daemon/src/oracle.rs @@ -104,9 +104,7 @@ impl Actor { attestation_channel, } } -} -impl Actor { fn update_pending_announcements(&mut self, ctx: &mut xtra::Context) { for event_id in self.pending_announcements.iter().cloned() { let this = ctx.address().expect("self to be alive"); @@ -140,9 +138,7 @@ impl Actor { }); } } -} -impl Actor { fn update_pending_attestations(&mut self, ctx: &mut xtra::Context) { for event_id in self.pending_attestations.iter().copied() { if !event_id.has_likely_occured() {