Resolve clippy warnings

This commit is contained in:
Michael Davis 2023-08-04 11:33:45 -05:00
parent 4ede8824c0
commit def0cb23cb
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,7 @@ impl<H: Char> MatcherDataView<'_, H> {
true
}
#[allow(clippy::too_many_arguments)]
fn score_row<const FIRST_ROW: bool, const INDICES: bool, N: Char>(
current_row: &mut [ScoreCell],
matrix_cells: &mut [MatrixCell],

View File

@ -60,6 +60,7 @@ impl<C: Char> MatrixLayout<C> {
/// # Safety
///
/// `ptr` must point at an allocated with MARTIX_ALLOC_LAYOUT
#[allow(clippy::type_complexity)]
unsafe fn fieds_from_ptr(
&self,
ptr: NonNull<u8>,