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 aba04a9 commit 753d0d9Copy full SHA for 753d0d9
opentelemetry/src/context.rs
@@ -663,7 +663,7 @@ mod tests {
663
// Push a new context and see that it works
664
let cx_guard = Context::current().with_value(ValueA(2)).attach();
665
assert_eq!(cx_guard.cx_pos, ContextStack::MAX_POS - 1);
666
- assert_eq!(Context::current().get::<ValueA>(), Some(&ValueA(2)));
+ assert_eq!(Context::current().get(), Some(&ValueA(2)));
667
assert_eq!(Context::current().get(), Some(&ValueB(stack_max_pos - 2)));
668
guards.push(cx_guard);
669
// Let's overflow the stack a couple of times again
0 commit comments