Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
CeleritasCelery committed Feb 9, 2024
1 parent 33b6f75 commit 01befb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/gc/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<'rt> Drop for Context<'rt> {

thread_local! {
/// Ensure there is only one context per thread.
static SINGLETON_CHECK: Cell<bool> = Cell::new(false);
static SINGLETON_CHECK: Cell<bool> = const { Cell::new(false) };
}

/// Ensure there is only one global context.
Expand Down

0 comments on commit 01befb4

Please sign in to comment.