File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,7 @@ async fn main() -> anyhow::Result<()> {
6464 // Ignore accept errors.
6565 . filter_map ( |r| future:: ready ( r. ok ( ) ) )
6666 . map ( |t| {
67- t. map_ok ( |msg : ClientMessage < SharedContext , _ > | {
68- msg. map_context ( ServerContext :: new)
69- } )
67+ t. map_ok ( |msg : ClientMessage < SharedContext , _ > | msg. map_context ( ServerContext :: new) )
7068 } )
7169 . map ( server:: BaseChannel :: with_defaults)
7270 // Limit channels to 1 per IP.
Original file line number Diff line number Diff line change 1010use crate :: trace:: { self , TraceId } ;
1111use opentelemetry:: trace:: TraceContextExt ;
1212use static_assertions:: assert_impl_all;
13- use std:: { convert:: TryFrom , time:: { Duration , Instant } } ;
1413use std:: ops:: { Deref , DerefMut } ;
14+ use std:: {
15+ convert:: TryFrom ,
16+ time:: { Duration , Instant } ,
17+ } ;
1518use tracing_opentelemetry:: OpenTelemetrySpanExt ;
1619
1720/// A request context that carries request-scoped information like deadlines and trace information.
You can’t perform that action at this time.
0 commit comments