Override non_camel_case_types warning on per-declaration basis

This commit is contained in:
Dmitry Bogatov
2019-07-28 01:58:12 +00:00
committed by Floris Bruynooghe
parent c6ccfd824e
commit 669ed0e0df
10 changed files with 13 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ use crate::x::*;
// to get the netto sizes, we subtract 1 mb header-overhead and the base64-overhead.
// some defaults
#[derive(Clone)]
#[allow(non_camel_case_types)]
pub struct dc_e2ee_helper_t {
pub encryption_successfull: libc::c_int,
pub cdata_to_free: *mut libc::c_void,