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 34f8be8 commit 54e05d5Copy full SHA for 54e05d5
opentelemetry-otlp/examples/basic-otlp/src/main.rs
@@ -61,7 +61,7 @@ fn init_logs() -> SdkLoggerProvider {
61
}
62
63
thread_local! {
64
- static SUPPRESS_GUARD: RefCell<Option<opentelemetry::ContextGuard>> = RefCell::new(None);
+ static SUPPRESS_GUARD: RefCell<Option<opentelemetry::ContextGuard>> = const { RefCell::new(None) };
65
66
67
// #[tokio::main]
0 commit comments