mirror of
https://github.com/solaeus/nucleo.git
synced 2024-12-22 01:47:49 +00:00
Resolve clippy warnings
This commit is contained in:
parent
4ede8824c0
commit
def0cb23cb
@ -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],
|
||||
|
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user