Skip to content

Commit cea72b8

Browse files
committed
fix clippy warning
1 parent 255795e commit cea72b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn enable_logs() {
4848
// For getting a message from a panic
4949
thread_local! {
5050
// Stores (Message, File, Line)
51-
static PANIC_INFO: RefCell<Option<(String, String, u32)>> = RefCell::new(None);
51+
static PANIC_INFO: RefCell<Option<(String, String, u32)>> = const { RefCell::new(None) };
5252
}
5353

5454
/// Initialize the panic handler to catch panics and store the message, file, and line number in `PANIC_INFO`.

0 commit comments

Comments
 (0)