Skip to content

Commit 47079b2

Browse files
committed
Make SpanRef public
1 parent 55d798e commit 47079b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry/src/trace/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
//!
111111
//! // Create a span
112112
//! let span = tracer.start("parent_span");
113-
//!
113+
//!
114114
//! // Mark the span as active
115115
//! let active = trace::mark_span_as_active(span);
116116
//!
@@ -184,7 +184,7 @@ mod tracer;
184184
mod tracer_provider;
185185

186186
pub use self::{
187-
context::{get_active_span, mark_span_as_active, FutureExt, TraceContextExt},
187+
context::{get_active_span, mark_span_as_active, FutureExt, SpanRef, TraceContextExt},
188188
span::{Span, SpanKind, StatusCode},
189189
span_context::{SpanContext, SpanId, TraceFlags, TraceId, TraceState, TraceStateError},
190190
tracer::{SpanBuilder, Tracer},

0 commit comments

Comments
 (0)