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/matcher/src/matrix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/atuin-nucleo/matcher/src/matrix.rs') 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 MatrixLayout { /// # 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, @@ -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], -- cgit v1.3.1