168 |
#[allow(clippy::size_of_in_element_count)]
|
169 |
ptr::copy_nonoverlapping(addr, &mut pnl.daddr.pfa.v4, mem::size_of_val(&pnl.daddr.pfa.v4));
|
181 |
#[allow(clippy::size_of_in_element_count)]
|
182 |
ptr::copy_nonoverlapping(addr, &mut pnl.daddr.pfa.v6, mem::size_of_val(&pnl.daddr.pfa.v6));
|
199 |
#[allow(clippy::size_of_in_element_count)]
|
200 |
ptr::copy_nonoverlapping(addr, &mut pnl.saddr.pfa.v4, mem::size_of_val(&pnl.saddr.pfa.v4));
|
214 |
#[allow(clippy::size_of_in_element_count)]
|
215 |
ptr::copy_nonoverlapping(addr, &mut pnl.saddr.pfa.v6, mem::size_of_val(&pnl.saddr.pfa.v6));
|
231 |
dst_addr.sin_port = pnl.rdport();
|
232 |
#[allow(clippy::size_of_in_element_count)]
|
233 |
ptr::copy_nonoverlapping(
|
144 |
#[allow(clippy::size_of_in_element_count)]
|
145 |
Ok(unsafe {
|
541 |
#[allow(clippy::size_of_in_element_count)]
|
542 |
//^ needed for "name.Length as usize / std::mem::size_of::<u16>()"
|
11 |
clippy::derivable_impls,
|
12 |
clippy::size_of_in_element_count
|
13 |
)]
|
1 |
#![allow(clippy::size_of_in_element_count)] // Clippy miss-detects this in the macros
|
2 |
#![warn(clippy::pedantic)]
|