From 47079b22d6eca14a3c9e015b3d19ac0cb4b99bcf Mon Sep 17 00:00:00 2001 From: "David A. Ramos" Date: Thu, 22 Jul 2021 17:01:30 -0700 Subject: [PATCH] Make SpanRef public --- opentelemetry/src/trace/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentelemetry/src/trace/mod.rs b/opentelemetry/src/trace/mod.rs index 5419405e3a..8013f4313a 100644 --- a/opentelemetry/src/trace/mod.rs +++ b/opentelemetry/src/trace/mod.rs @@ -110,7 +110,7 @@ //! //! // Create a span //! let span = tracer.start("parent_span"); -//! +//! //! // Mark the span as active //! let active = trace::mark_span_as_active(span); //! @@ -184,7 +184,7 @@ mod tracer; mod tracer_provider; pub use self::{ - context::{get_active_span, mark_span_as_active, FutureExt, TraceContextExt}, + context::{get_active_span, mark_span_as_active, FutureExt, SpanRef, TraceContextExt}, span::{Span, SpanKind, StatusCode}, span_context::{SpanContext, SpanId, TraceFlags, TraceId, TraceState, TraceStateError}, tracer::{SpanBuilder, Tracer},