Skip to content

Commit 70763fc

Browse files
committed
fix rexport
1 parent c6c58ad commit 70763fc

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

opentelemetry/src/context.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ use std::sync::Arc;
2222

2323
mod future_ext;
2424

25-
pub use future_ext::FutureExt;
26-
pub use future_ext::WithContext;
25+
pub use future_ext::{FutureExt, WithContext};
2726

2827
thread_local! {
2928
static CURRENT_CONTEXT: RefCell<ContextStack> = RefCell::new(ContextStack::default());

opentelemetry/src/trace/context.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ use crate::{
77
use std::{borrow::Cow, error::Error, sync::Mutex};
88

99
// Re-export for compatability. This used to be contained here.
10-
pub use crate::context::FutureExt;
11-
pub use crate::context::WithContext;
10+
pub use crate::context::{FutureExt, WithContext};
1211

1312
const NOOP_SPAN: SynchronizedSpan = SynchronizedSpan {
1413
span_context: SpanContext::NONE,

opentelemetry/src/trace/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ mod tracer;
176176
mod tracer_provider;
177177

178178
pub use self::{
179-
context::{get_active_span, mark_span_as_active, FutureExt, SpanRef, TraceContextExt},
179+
context::{get_active_span, mark_span_as_active, FutureExt, WithContext, SpanRef, TraceContextExt},
180180
span::{Span, SpanKind, Status},
181181
span_context::{SpanContext, TraceState},
182182
tracer::{SamplingDecision, SamplingResult, SpanBuilder, Tracer},

0 commit comments

Comments
 (0)