From 7d92f852a1aca495b3b3402587e1221412d3d800 Mon Sep 17 00:00:00 2001 From: Plamen Hristov Date: Thu, 29 Aug 2024 14:32:36 +0200 Subject: [PATCH] Formatted the file nicer --- crates/pubsub/src/sub.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/crates/pubsub/src/sub.rs b/crates/pubsub/src/sub.rs index e8e9c1705914..304d55b22429 100644 --- a/crates/pubsub/src/sub.rs +++ b/crates/pubsub/src/sub.rs @@ -353,13 +353,7 @@ impl Stream for SubAnyStream { impl From>> for Subscription { fn from(rx: broadcast::Receiver>) -> Self { - Self { - inner: RawSubscription { - rx, - local_id: B256::ZERO, - }, - _pd: std::marker::PhantomData, - } + Self { inner: RawSubscription { rx, local_id: B256::ZERO }, _pd: std::marker::PhantomData } } }