Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Keruspe committed Aug 29, 2024
1 parent bb0ba23 commit 74f18af
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/channels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ impl Channels {
recovery_config: RecoveryConfig,
) -> Self {
Self {
inner: Arc::new(Mutex::new(Inner::new(configuration, waker, recovery_config))),
inner: Arc::new(Mutex::new(Inner::new(
configuration,
waker,
recovery_config,
))),
connection_status,
global_registry,
internal_rpc,
Expand Down Expand Up @@ -302,7 +306,11 @@ struct Inner {
}

impl Inner {
fn new(configuration: Configuration, waker: SocketStateHandle, recovery_config: RecoveryConfig) -> Self {
fn new(
configuration: Configuration,
waker: SocketStateHandle,
recovery_config: RecoveryConfig,
) -> Self {
Self {
channels: HashMap::default(),
channel_id: IdSequence::new(false),
Expand Down

0 comments on commit 74f18af

Please sign in to comment.