Skip to content

Commit

Permalink
more clippy tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mcginty committed Jan 30, 2024
1 parent eeab540 commit c2e4537
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ mod_module_files = "warn"
std_instead_of_core = "warn"
exhaustive_structs = "warn"
missing_trait_methods = "warn"
missing_inline_in_public_item = "warn"
absolute_paths = "warn"
as_conversions = "warn"
shadow_reuse = "warn"
Expand Down
1 change: 1 addition & 0 deletions src/symmetricstate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ impl SymmetricState {
/// Calculate HMAC, as specified in the Noise spec.
///
/// NOTE: This method clobbers the existing internal state
#[allow(clippy::similar_names)]
pub(crate) fn hmac(hasher: &mut Box<dyn Hash>, key: &[u8], data: &[u8], out: &mut [u8]) {
let key_len = key.len();
let block_len = hasher.block_len();
Expand Down

0 comments on commit c2e4537

Please sign in to comment.