aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-nucleo/src/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-nucleo/src/worker.rs')
-rw-r--r--crates/atuin-nucleo/src/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin-nucleo/src/worker.rs b/crates/atuin-nucleo/src/worker.rs
index 45e27cee..83472e79 100644
--- a/crates/atuin-nucleo/src/worker.rs
+++ b/crates/atuin-nucleo/src/worker.rs
@@ -15,7 +15,7 @@ struct Matchers(Box<[UnsafeCell<atuin_nucleo_matcher::Matcher>]>);
impl Matchers {
// this is not a true mut from ref, we use a cell here
- #[allow(clippy::mut_from_ref)]
+ #[expect(clippy::mut_from_ref)]
unsafe fn get(&self) -> &mut atuin_nucleo_matcher::Matcher {
&mut *self.0[rayon::current_thread_index().unwrap()].get()
}