Skip to content

Commit

Permalink
Fix unused main heap
Browse files Browse the repository at this point in the history
  • Loading branch information
js2xxx committed Oct 19, 2024
1 parent 3a4772f commit 3be2056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heap/thread_local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl<'arena, B: BaseAlloc> ThreadLocal<'arena, B> {
main: UnsafeCell::new(MaybeUninit::uninit()),
buckets: [Bucket::NEW; BUCKETS],
next_reclaimed_id: AtomicU64::new(0),
next_id: AtomicU64::new(1),
next_id: AtomicU64::new(0),
_marker: PhantomPinned,
}
}
Expand Down

0 comments on commit 3be2056

Please sign in to comment.