Fix new Clippy lint

This commit is contained in:
Alejandro González 2024-01-22 13:40:53 +01:00
parent 7818599de1
commit 1b500da585
No known key found for this signature in database

View file

@ -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<Option<Sender<String>>> = RefCell::new(None);
static VERBOSE_LOGS: RefCell<Option<Sender<String>>> = const { RefCell::new(None) };
}
struct LogTester;