Skip to content

Commit

Permalink
Formatted the file nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
PlamenHristov committed Aug 29, 2024
1 parent d9b6fee commit 7d92f85
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions crates/pubsub/src/sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,7 @@ impl<T: DeserializeOwned> Stream for SubAnyStream<T> {

impl<T> From<broadcast::Receiver<Box<RawValue>>> for Subscription<T> {
fn from(rx: broadcast::Receiver<Box<RawValue>>) -> 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 }
}
}

Expand Down

0 comments on commit 7d92f85

Please sign in to comment.