diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-10 22:28:10 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-10 22:28:10 +0200 |
| commit | b4011176cc4b68aed77a6946610a3dcf3b938e95 (patch) | |
| tree | 65120528263f2330b06829fecf2c4a76052069c7 /crates/atuin-nucleo/matcher/src/matrix.rs | |
| parent | chore: Remove more useless code (diff) | |
| download | atuin-b4011176cc4b68aed77a6946610a3dcf3b938e95.zip | |
chore: Turn all `allow`s into into `expect`s
Diffstat (limited to 'crates/atuin-nucleo/matcher/src/matrix.rs')
| -rw-r--r-- | crates/atuin-nucleo/matcher/src/matrix.rs | 4 |
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], |
