File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ struct SpanEventVisitor<'a, 'b> {
160
160
sem_conv_config : SemConvConfig ,
161
161
}
162
162
163
- impl < ' a , ' b > field:: Visit for SpanEventVisitor < ' a , ' b > {
163
+ impl field:: Visit for SpanEventVisitor < ' _ , ' _ > {
164
164
/// Record events on the underlying OpenTelemetry [`Span`] from `bool` values.
165
165
///
166
166
/// [`Span`]: opentelemetry::trace::Span
@@ -403,7 +403,7 @@ struct SpanAttributeVisitor<'a> {
403
403
sem_conv_config : SemConvConfig ,
404
404
}
405
405
406
- impl < ' a > SpanAttributeVisitor < ' a > {
406
+ impl SpanAttributeVisitor < ' _ > {
407
407
fn record ( & mut self , attribute : KeyValue ) {
408
408
self . span_builder_updates
409
409
. attributes
@@ -412,7 +412,7 @@ impl<'a> SpanAttributeVisitor<'a> {
412
412
}
413
413
}
414
414
415
- impl < ' a > field:: Visit for SpanAttributeVisitor < ' a > {
415
+ impl field:: Visit for SpanAttributeVisitor < ' _ > {
416
416
/// Set attributes on the underlying OpenTelemetry [`Span`] from `bool` values.
417
417
///
418
418
/// [`Span`]: opentelemetry::trace::Span
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ pub(crate) struct MetricVisitor<'a> {
178
178
visited_metrics : & ' a mut SmallVec < [ ( & ' static str , InstrumentType ) ; 2 ] > ,
179
179
}
180
180
181
- impl < ' a > Visit for MetricVisitor < ' a > {
181
+ impl Visit for MetricVisitor < ' _ > {
182
182
fn record_debug ( & mut self , field : & Field , value : & dyn fmt:: Debug ) {
183
183
self . attributes
184
184
. push ( KeyValue :: new ( field. name ( ) , format ! ( "{value:?}" ) ) ) ;
You can’t perform that action at this time.
0 commit comments