We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1c187 commit 5a9a3adCopy full SHA for 5a9a3ad
hal/src/aes.rs
@@ -407,6 +407,7 @@ impl Aes {
407
}
408
409
// expensive copy for the sake of allowing unaligned u8 data
410
+ #[allow(clippy::get_first)]
411
fn set_din_block(&mut self, block: &[u8]) {
412
for chunk in block.chunks(4) {
413
let din: u32 = (chunk.get(0).copied().unwrap_or(0) as u32) << 24
0 commit comments