From def0cb23cb5a61f2f68bac8c5df8acf735a89a3c Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Fri, 4 Aug 2023 11:33:45 -0500 Subject: [PATCH] Resolve clippy warnings --- matcher/src/fuzzy_optimal.rs | 1 + matcher/src/matrix.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/matcher/src/fuzzy_optimal.rs b/matcher/src/fuzzy_optimal.rs index 749fa0c..65fe95b 100644 --- a/matcher/src/fuzzy_optimal.rs +++ b/matcher/src/fuzzy_optimal.rs @@ -171,6 +171,7 @@ impl MatcherDataView<'_, H> { true } + #[allow(clippy::too_many_arguments)] fn score_row( current_row: &mut [ScoreCell], matrix_cells: &mut [MatrixCell], diff --git a/matcher/src/matrix.rs b/matcher/src/matrix.rs index e4ec0c6..eff3dae 100644 --- a/matcher/src/matrix.rs +++ b/matcher/src/matrix.rs @@ -60,6 +60,7 @@ impl MatrixLayout { /// # Safety /// /// `ptr` must point at an allocated with MARTIX_ALLOC_LAYOUT + #[allow(clippy::type_complexity)] unsafe fn fieds_from_ptr( &self, ptr: NonNull,