diff --git a/boring-sys/src/lib.rs b/boring-sys/src/lib.rs index da297649..4c783232 100644 --- a/boring-sys/src/lib.rs +++ b/boring-sys/src/lib.rs @@ -3,6 +3,7 @@ clippy::redundant_static_lifetimes, clippy::too_many_arguments, clippy::unreadable_literal, + clippy::upper_case_acronyms, improper_ctypes, non_camel_case_types, non_snake_case, diff --git a/boring/src/ssl/bio.rs b/boring/src/ssl/bio.rs index bef906f9..9d02fc00 100644 --- a/boring/src/ssl/bio.rs +++ b/boring/src/ssl/bio.rs @@ -213,7 +213,7 @@ use ffi::{BIO_get_data, BIO_set_data, BIO_set_flags, BIO_set_init}; #[allow(bad_style)] unsafe fn BIO_set_num(_bio: *mut ffi::BIO, _num: c_int) {} -#[allow(bad_style)] +#[allow(bad_style, clippy::upper_case_acronyms)] struct BIO_METHOD(*mut ffi::BIO_METHOD); impl BIO_METHOD {