We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb77c8 commit bf7e835Copy full SHA for bf7e835
opentelemetry/src/baggage.rs
@@ -334,7 +334,7 @@ pub trait BaggageExt {
334
///
335
/// // Passing an iterator
336
/// let cx = Context::map_current(|cx| {
337
- /// cx.with_baggage(vec![KeyValue::new("my-name", "my-value")])
+ /// cx.with_baggage([KeyValue::new("my-name", "my-value")])
338
/// });
339
340
/// assert_eq!(
0 commit comments