Skip to content

Commit 657f1a4

Browse files
committed
fix: remove stale .unwrap() in zipkin doc example
with_batch_exporter() returns Self now, not Result. Assisted-by: Claude Sonnet 4.6
1 parent 8e34ff1 commit 657f1a4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • opentelemetry-zipkin/src

opentelemetry-zipkin/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@
179179
//! Ok(trace::SdkTracerProvider::builder()
180180
//! .with_sampler(Sampler::AlwaysOn)
181181
//! .with_batch_exporter(exporter)
182-
//! .unwrap()
183182
//! .with_id_generator(RandomIdGenerator::default())
184183
//! .with_max_events_per_span(64)
185184
//! .with_max_attributes_per_span(16)

0 commit comments

Comments
 (0)