Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ cast_sign_loss = "warn"
checked_conversions = "warn"
doc_markdown = "warn"
from_iter_instead_of_collect = "warn"
implicit_saturating_sub = "warn"
manual_assert = "warn"
map_unwrap_or = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
mod_module_files = "warn"
must_use_candidate = "warn"
implicit_saturating_sub = "warn"
needless_range_loop = "allow"
ptr_as_ptr = "warn"
redundant_closure_for_method_calls = "warn"
ref_as_ptr = "warn"
Expand Down
2 changes: 0 additions & 2 deletions inout/src/inout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ impl<N: ArraySize> InOut<'_, '_, Array<u8, N>> {
/// # Panics
/// If `data` length is not equal to the buffer length.
#[inline(always)]
#[allow(clippy::needless_range_loop)]
pub fn xor_in2out(&mut self, data: &Array<u8, N>) {
unsafe {
let input = ptr::read(self.in_ptr);
Expand All @@ -210,7 +209,6 @@ where
/// # Panics
/// If `data` length is not equal to the buffer length.
#[inline(always)]
#[allow(clippy::needless_range_loop)]
pub fn xor_in2out(&mut self, data: &Array<Array<u8, N>, M>) {
unsafe {
let input = ptr::read(self.in_ptr);
Expand Down
1 change: 0 additions & 1 deletion inout/src/inout_buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ impl InOutBuf<'_, '_, u8> {
/// # Panics
/// If `data` length is not equal to the buffer length.
#[inline(always)]
#[allow(clippy::needless_range_loop)]
pub fn xor_in2out(&mut self, data: &[u8]) {
assert_eq!(self.len(), data.len());
unsafe {
Expand Down