File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ impl Dispatcher {
97
97
{
98
98
panic ! ( "duplicate context_id" )
99
99
}
100
- } ,
100
+ }
101
101
ContextType :: StreamContext => {
102
102
let stream_context = root_context. create_stream_context ( context_id) ;
103
103
if self
@@ -108,7 +108,7 @@ impl Dispatcher {
108
108
{
109
109
panic ! ( "duplicate context_id" )
110
110
}
111
- } ,
111
+ }
112
112
ContextType :: RootContext => panic ! ( "missing ContextType on root_context" ) ,
113
113
}
114
114
} else {
Original file line number Diff line number Diff line change @@ -126,10 +126,7 @@ pub trait RootContext: Context {
126
126
Box :: new ( EmptyHttpContext )
127
127
}
128
128
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 > {
133
130
Box :: new ( EmptyStreamContext )
134
131
}
135
132
You can’t perform that action at this time.
0 commit comments