From 1eaea91909b2d21dc951690ad76f0bc6480d23c7 Mon Sep 17 00:00:00 2001 From: illuzen Date: Sat, 13 Dec 2025 17:42:43 +0800 Subject: [PATCH] clippy --- crates/engine-gpu/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine-gpu/src/lib.rs b/crates/engine-gpu/src/lib.rs index 47cf608..ad01b5f 100644 --- a/crates/engine-gpu/src/lib.rs +++ b/crates/engine-gpu/src/lib.rs @@ -36,7 +36,7 @@ pub struct GpuEngine { // Thread-local storage for consistent GPU device assignment per worker thread thread_local! { - static ASSIGNED_GPU_DEVICE: RefCell> = RefCell::new(None); + static ASSIGNED_GPU_DEVICE: RefCell> = const { RefCell::new(None) }; } impl Default for GpuEngine {