Skip to content

Commit 54e05d5

Browse files
committed
clippy
1 parent 34f8be8 commit 54e05d5

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-otlp/examples/basic-otlp/src

1 file changed

+1
-1
lines changed

opentelemetry-otlp/examples/basic-otlp/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn init_logs() -> SdkLoggerProvider {
6161
}
6262

6363
thread_local! {
64-
static SUPPRESS_GUARD: RefCell<Option<opentelemetry::ContextGuard>> = RefCell::new(None);
64+
static SUPPRESS_GUARD: RefCell<Option<opentelemetry::ContextGuard>> = const { RefCell::new(None) };
6565
}
6666

6767
// #[tokio::main]

0 commit comments

Comments
 (0)