Skip to content

Commit

Permalink
More clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bkushigian committed Oct 6, 2024
1 parent b5d95fb commit b958e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ struct StackAllocData {
}

thread_local! {
static STACK_ALLOC_DATA: RefCell<StackAllocData> = RefCell::new(StackAllocData {
static STACK_ALLOC_DATA: RefCell<StackAllocData> = const {RefCell::new(StackAllocData {
index: usize::MAX,
base: Vec::new(),
current: Vec::new(),
});
})};
}

impl StackAllocData {
Expand Down

0 comments on commit b958e14

Please sign in to comment.