From b4011176cc4b68aed77a6946610a3dcf3b938e95 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 10 Jun 2026 22:28:10 +0200 Subject: chore: Turn all `allow`s into into `expect`s --- crates/atuin-nucleo/src/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/atuin-nucleo/src/worker.rs') 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]>); 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() } -- cgit v1.3.1