@@ -112,10 +112,9 @@ impl SpanInferrer {
112112
113113 wrapped_inferred_span. duration =
114114 inferred_span. start - wrapped_inferred_span. start ;
115- wrapped_inferred_span. meta . insert (
116- "_inferred_span.tag_source" . to_string ( ) ,
117- "self" . to_string ( ) ,
118- ) ;
115+ wrapped_inferred_span
116+ . meta
117+ . insert ( "_inferred_span.tag_source" . to_string ( ) , "self" . to_string ( ) ) ;
119118 wrapped_inferred_span. meta . insert (
120119 "_inferred_span.synchronicity" . to_string ( ) ,
121120 "async" . to_string ( ) ,
@@ -139,10 +138,9 @@ impl SpanInferrer {
139138
140139 wrapped_inferred_span. duration =
141140 inferred_span. start - wrapped_inferred_span. start ;
142- wrapped_inferred_span. meta . insert (
143- "_inferred_span.tag_source" . to_string ( ) ,
144- "self" . to_string ( ) ,
145- ) ;
141+ wrapped_inferred_span
142+ . meta
143+ . insert ( "_inferred_span.tag_source" . to_string ( ) , "self" . to_string ( ) ) ;
146144 wrapped_inferred_span. meta . insert (
147145 "_inferred_span.synchronicity" . to_string ( ) ,
148146 "async" . to_string ( ) ,
@@ -174,10 +172,9 @@ impl SpanInferrer {
174172
175173 wrapped_inferred_span. duration =
176174 inferred_span. start - wrapped_inferred_span. start ;
177- wrapped_inferred_span. meta . insert (
178- "_inferred_span.tag_source" . to_string ( ) ,
179- "self" . to_string ( ) ,
180- ) ;
175+ wrapped_inferred_span
176+ . meta
177+ . insert ( "_inferred_span.tag_source" . to_string ( ) , "self" . to_string ( ) ) ;
181178 wrapped_inferred_span. meta . insert (
182179 "_inferred_span.synchronicity" . to_string ( ) ,
183180 "async" . to_string ( ) ,
@@ -273,10 +270,9 @@ impl SpanInferrer {
273270 self . inferred_span = None ;
274271 } else {
275272 let synchronicity = if t. is_async ( ) { "async" } else { "sync" } ;
276- inferred_span. meta . insert (
277- "_inferred_span.tag_source" . to_string ( ) ,
278- "self" . to_string ( ) ,
279- ) ;
273+ inferred_span
274+ . meta
275+ . insert ( "_inferred_span.tag_source" . to_string ( ) , "self" . to_string ( ) ) ;
280276 inferred_span. meta . insert (
281277 "_inferred_span.synchronicity" . to_string ( ) ,
282278 synchronicity. to_string ( ) ,
0 commit comments