From 01befb4c5c249a57ff2792176c9ae1ebc67a25e9 Mon Sep 17 00:00:00 2001 From: Troy Hinckley Date: Thu, 8 Feb 2024 23:10:34 -0600 Subject: [PATCH] Fix clippy warning --- src/core/gc/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gc/context.rs b/src/core/gc/context.rs index 9c319dfb..57dd7e01 100644 --- a/src/core/gc/context.rs +++ b/src/core/gc/context.rs @@ -49,7 +49,7 @@ impl<'rt> Drop for Context<'rt> { thread_local! { /// Ensure there is only one context per thread. - static SINGLETON_CHECK: Cell = Cell::new(false); + static SINGLETON_CHECK: Cell = const { Cell::new(false) }; } /// Ensure there is only one global context.