Allow uppercase acronyms

This commit is contained in:
Anthony Ramine 2021-04-06 10:47:10 +02:00
parent dd04ec0ef4
commit e13112e3ca
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
clippy::redundant_static_lifetimes, clippy::redundant_static_lifetimes,
clippy::too_many_arguments, clippy::too_many_arguments,
clippy::unreadable_literal, clippy::unreadable_literal,
clippy::upper_case_acronyms,
improper_ctypes, improper_ctypes,
non_camel_case_types, non_camel_case_types,
non_snake_case, non_snake_case,

View File

@ -213,7 +213,7 @@ use ffi::{BIO_get_data, BIO_set_data, BIO_set_flags, BIO_set_init};
#[allow(bad_style)] #[allow(bad_style)]
unsafe fn BIO_set_num(_bio: *mut ffi::BIO, _num: c_int) {} 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); struct BIO_METHOD(*mut ffi::BIO_METHOD);
impl BIO_METHOD { impl BIO_METHOD {