Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo committed Jan 13, 2024
1 parent 45454ff commit 4784778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::sync::Arc;

thread_local! {
static ABORT: RefCell<Arc<AtomicBool>> = RefCell::new(Arc::new(AtomicBool::new(false)));
static ABORT_PANICED: Cell<bool> = Cell::new(false);
static ABORT_PANICED: Cell<bool> = const { Cell::new(false) };
}

#[derive(Debug, thiserror::Error)]
Expand Down

0 comments on commit 4784778

Please sign in to comment.