mirror of
https://github.com/solaeus/nucleo.git
synced 2024-12-22 09:57: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
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
fn score_row<const FIRST_ROW: bool, const INDICES: bool, N: Char>(
|
fn score_row<const FIRST_ROW: bool, const INDICES: bool, N: Char>(
|
||||||
current_row: &mut [ScoreCell],
|
current_row: &mut [ScoreCell],
|
||||||
matrix_cells: &mut [MatrixCell],
|
matrix_cells: &mut [MatrixCell],
|
||||||
|
@ -60,6 +60,7 @@ impl<C: Char> MatrixLayout<C> {
|
|||||||
/// # Safety
|
/// # Safety
|
||||||
///
|
///
|
||||||
/// `ptr` must point at an allocated with MARTIX_ALLOC_LAYOUT
|
/// `ptr` must point at an allocated with MARTIX_ALLOC_LAYOUT
|
||||||
|
#[allow(clippy::type_complexity)]
|
||||||
unsafe fn fieds_from_ptr(
|
unsafe fn fieds_from_ptr(
|
||||||
&self,
|
&self,
|
||||||
ptr: NonNull<u8>,
|
ptr: NonNull<u8>,
|
||||||
|
Loading…
Reference in New Issue
Block a user