Skip to content

Commit 3684483

Browse files
committed
Fixed typing in example for on_end
1 parent b461111 commit 3684483

File tree

1 file changed

+1
-1
lines changed
  • examples/tracing-http-propagator/src

1 file changed

+1
-1
lines changed

examples/tracing-http-propagator/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl SpanProcessor for EnrichWithBaggageSpanProcessor {
145145
}
146146
}
147147

148-
fn on_end(&self, _span: opentelemetry_sdk::trace::SpanData) {}
148+
fn on_end(&self, _span: &mut opentelemetry_sdk::trace::SpanData) {}
149149
}
150150

151151
fn init_tracer() -> SdkTracerProvider {

0 commit comments

Comments
 (0)