From 802ce442c84897ffe39f43b7789f3a46e0b8b3fe Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 21 Mar 2024 19:36:52 +0530 Subject: [PATCH] lint --- ext/napi/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/napi/lib.rs b/ext/napi/lib.rs index 5205978918e801..b3313f0feca9b5 100644 --- a/ext/napi/lib.rs +++ b/ext/napi/lib.rs @@ -79,7 +79,7 @@ pub const napi_would_deadlock: napi_status = 21; pub const NAPI_AUTO_LENGTH: usize = usize::MAX; thread_local! { - pub static MODULE_TO_REGISTER: RefCell> = RefCell::new(None); + pub static MODULE_TO_REGISTER: RefCell> = const { RefCell::new(None) }; } type napi_addon_register_func =