Skip to content

Commit 69859ae

Browse files
housemebantonsson
andauthored
Update opentelemetry-appender-tracing/src/layer.rs
Co-authored-by: Björn Antonsson <[email protected]>
1 parent 55813b8 commit 69859ae

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-appender-tracing/src

1 file changed

+1
-1
lines changed

opentelemetry-appender-tracing/src/layer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ where
250250
if let Some(otd) = span.extensions().get::<OtelData>() {
251251
if let Some(span_id) = otd.span_id() {
252252
// Try the trace_id of the current span first;
253-
// If it is not already established (still in the Builder state), try rooting the span.
253+
// If it is not already established (still in the Builder state), try finding the root span.
254254
let opt_trace_id = otd.trace_id().or_else(|| {
255255
span.scope().last().and_then(|root_span| {
256256
root_span

0 commit comments

Comments
 (0)