From 1b500da585efea50dff33a30694c0923c85f8eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Gonz=C3=A1lez?= Date: Mon, 22 Jan 2024 13:40:53 +0100 Subject: [PATCH] Fix new Clippy lint --- tests/flags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/flags.rs b/tests/flags.rs index c244df17..53d84a22 100644 --- a/tests/flags.rs +++ b/tests/flags.rs @@ -114,7 +114,7 @@ fn verbose_mode() { // initialise it with Some(sender) only on threads spawned within // our test. thread_local! { - static VERBOSE_LOGS: RefCell>> = RefCell::new(None); + static VERBOSE_LOGS: RefCell>> = const { RefCell::new(None) }; } struct LogTester;