Fix new Clippy lint
This commit is contained in:
parent
7818599de1
commit
1b500da585
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue