aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-nucleo/matcher/src/matrix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-nucleo/matcher/src/matrix.rs')
-rw-r--r--crates/atuin-nucleo/matcher/src/matrix.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-nucleo/matcher/src/matrix.rs b/crates/atuin-nucleo/matcher/src/matrix.rs
index a91ed95f..5c68f2fd 100644
--- a/crates/atuin-nucleo/matcher/src/matrix.rs
+++ b/crates/atuin-nucleo/matcher/src/matrix.rs
@@ -60,7 +60,7 @@ impl<C: Char> MatrixLayout<C> {
/// # Safety
///
/// `ptr` must point at an allocated with MARTIX_ALLOC_LAYOUT
- #[allow(clippy::type_complexity)]
+ #[expect(clippy::type_complexity)]
unsafe fn fieds_from_ptr(
&self,
ptr: NonNull<u8>,
@@ -128,7 +128,7 @@ impl MatrixCell {
}
// we only use this to construct the layout for the slab allocation
-#[allow(unused)]
+#[expect(unused)]
struct MatcherData {
haystack: [char; MAX_HAYSTACK_LEN],
bonus: [u8; MAX_HAYSTACK_LEN],