Skip to content

Commit 19813dd

Browse files
committed
rustfmt again
1 parent a289783 commit 19813dd

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/dispatcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl Dispatcher {
9797
{
9898
panic!("duplicate context_id")
9999
}
100-
},
100+
}
101101
ContextType::StreamContext => {
102102
let stream_context = root_context.create_stream_context(context_id);
103103
if self
@@ -108,7 +108,7 @@ impl Dispatcher {
108108
{
109109
panic!("duplicate context_id")
110110
}
111-
},
111+
}
112112
ContextType::RootContext => panic!("missing ContextType on root_context"),
113113
}
114114
} else {

src/traits.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,7 @@ pub trait RootContext: Context {
126126
Box::new(EmptyHttpContext)
127127
}
128128

129-
fn create_stream_context(
130-
&self,
131-
_context_id: u32,
132-
) -> Box<dyn StreamContext> {
129+
fn create_stream_context(&self, _context_id: u32) -> Box<dyn StreamContext> {
133130
Box::new(EmptyStreamContext)
134131
}
135132

0 commit comments

Comments
 (0)