Pacify latest clippy (#1442)

This commit is contained in:
Robin Salen 2024-01-02 09:08:19 +01:00 committed by GitHub
parent ae3003a9d7
commit ef07eabf84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,7 @@ impl<T: Copy> CpuGeneralColumnsView<T> {
}
impl<T: Copy + PartialEq> PartialEq<Self> for CpuGeneralColumnsView<T> {
#[allow(clippy::unconditional_recursion)] // false positive
fn eq(&self, other: &Self) -> bool {
let self_arr: &[T; NUM_SHARED_COLUMNS] = self.borrow();
let other_arr: &[T; NUM_SHARED_COLUMNS] = other.borrow();