We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ceca34 commit 4a46306Copy full SHA for 4a46306
tests/test.rs
@@ -17,7 +17,7 @@ use std::cell::Cell;
17
use std::ffi::CStr;
18
19
thread_local! {
20
- static CORRECT: Cell<bool> = Cell::new(false);
+ static CORRECT: Cell<bool> = const { Cell::new(false) };
21
}
22
23
#[no_mangle]
0 commit comments