aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-nucleo/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-nucleo/src')
-rw-r--r--crates/atuin-nucleo/src/par_sort.rs2
-rw-r--r--crates/atuin-nucleo/src/worker.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-nucleo/src/par_sort.rs b/crates/atuin-nucleo/src/par_sort.rs
index 92f716cc..b7ca3f9e 100644
--- a/crates/atuin-nucleo/src/par_sort.rs
+++ b/crates/atuin-nucleo/src/par_sort.rs
@@ -703,7 +703,7 @@ where
let len = v.len();
// Three indices near which we are going to choose a pivot.
- #[allow(clippy::identity_op)]
+ #[expect(clippy::identity_op)]
let mut a = len / 4 * 1;
let mut b = len / 4 * 2;
let mut c = len / 4 * 3;
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()
}