From 6066e0b536524e722ee8880e3ba238a9fe2981fd Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 19 Jul 2024 09:54:24 -0400 Subject: [PATCH] clippy --- tests/deletion-drops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/deletion-drops.rs b/tests/deletion-drops.rs index cd8bf2d..989f934 100644 --- a/tests/deletion-drops.rs +++ b/tests/deletion-drops.rs @@ -22,7 +22,7 @@ struct MyTracked<'db> { } thread_local! { - static DROPPED: std::cell::RefCell> = std::cell::RefCell::new(vec![]); + static DROPPED: std::cell::RefCell> = const { std::cell::RefCell::new(vec![]) }; } fn dropped() -> Vec {