Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
spiral-ladder committed Jun 29, 2024
1 parent 68e6df5 commit b6f90f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/encryption/symmetric/aes/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! This module contains the implementation for the Advanced Encryption Standard (AES) encryption
//! and decryption.
#![doc = include_str!("./README.md")]
use std::ops::{Deref, DerefMut};

use itertools::Itertools;

Expand Down Expand Up @@ -135,7 +134,7 @@ where [(); K / 8]:
Self::add_round_key(&mut state, expanded_key_chunks.next().unwrap());

assert!(
expanded_key_chunks.remainder().len() == 0,
expanded_key_chunks.remainder().is_empty(),
"Expanded key not fully consumed - perhaps check key expansion?"
);

Expand Down

0 comments on commit b6f90f3

Please sign in to comment.