Skip to content

Commit

Permalink
Fix clippy workspace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
garethj2 committed Jan 2, 2025
1 parent a5f07b6 commit 5c7a7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-gen/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::cell::RefCell;
use std::str::FromStr;

thread_local! {
pub (super) static QUANTITY: RefCell<Option<String>> = RefCell::new(None);
pub (super) static QUANTITY: RefCell<Option<String>> = const { RefCell::new(None) };
}

fn parse_space<'a>() -> Parser<'a, u8, ()> {
Expand Down

0 comments on commit 5c7a7a0

Please sign in to comment.