File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -429,8 +429,7 @@ impl Dispatcher {
429
429
430
430
fn on_grpc_receive_initial_metadata ( & self , token_id : u32 , headers : u32 ) {
431
431
let grpc_streams_ref = self . grpc_streams . borrow_mut ( ) ;
432
- let context_id_hash_slot = grpc_streams_ref
433
- . get ( & token_id) ;
432
+ let context_id_hash_slot = grpc_streams_ref. get ( & token_id) ;
434
433
let context_id = match context_id_hash_slot {
435
434
Some ( id) => * id,
436
435
None => {
@@ -492,8 +491,7 @@ impl Dispatcher {
492
491
493
492
fn on_grpc_receive_trailing_metadata ( & self , token_id : u32 , trailers : u32 ) {
494
493
let grpc_streams_ref = self . grpc_streams . borrow_mut ( ) ;
495
- let context_id_hash_slot = grpc_streams_ref
496
- . get ( & token_id) ;
494
+ let context_id_hash_slot = grpc_streams_ref. get ( & token_id) ;
497
495
let context_id = match context_id_hash_slot {
498
496
Some ( id) => * id,
499
497
None => {
You can’t perform that action at this time.
0 commit comments