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 012d213 commit aba04a9Copy full SHA for aba04a9
opentelemetry/src/context.rs
@@ -670,7 +670,7 @@ mod tests {
670
for _ in 0..16 {
671
let cx_guard = Context::current().with_value(ValueA(1)).attach();
672
assert_eq!(cx_guard.cx_pos, ContextStack::MAX_POS);
673
- assert_eq!(Context::current().get::<ValueA>(), Some(&ValueA(2)));
+ assert_eq!(Context::current().get(), Some(&ValueA(2)));
674
assert_eq!(Context::current().get(), Some(&ValueB(stack_max_pos - 2)));
675
guards.push(cx_guard);
676
}
0 commit comments