Minimize scope of clippy::upper_case_acronyms.

This commit is contained in:
Brian Smith 2023-10-13 14:02:12 -07:00
parent 691a4dbb31
commit 8edeead004
4 changed files with 3 additions and 1 deletions

View File

@ -31,5 +31,4 @@ cargo clippy \
--allow clippy::neg_cmp_op_on_partial_ord \
--allow clippy::too_many_arguments \
--allow clippy::type_complexity \
--allow clippy::upper_case_acronyms \
$NULL

View File

@ -366,6 +366,7 @@ impl Iv {
#[repr(C)] // Only so `Key` can be `#[repr(C)]`
#[derive(Clone, Copy)]
#[allow(clippy::upper_case_acronyms)]
pub enum Implementation {
#[cfg(any(
target_arch = "aarch64",

View File

@ -294,6 +294,7 @@ struct ContextInner {
Htable: HTable,
}
#[allow(clippy::upper_case_acronyms)]
enum Implementation {
#[cfg(any(
target_arch = "aarch64",

View File

@ -21,6 +21,7 @@ use crate::{bits, digest, error, rand};
/// documentation for more details.
///
/// [RFC 3447 Section 8.1]: https://tools.ietf.org/html/rfc3447#section-8.1
#[allow(clippy::upper_case_acronyms)] // TODO: Until we implement cargo-semver-checks
#[derive(Debug)]
pub struct PSS {
digest_alg: &'static digest::Algorithm,