mirror of
https://github.com/chatmail/core.git
synced 2026-04-23 00:16:34 +03:00
Override `non_shake_case' warning on per-function basis
This change removes global override of `non_shake_case' warning and replaces it with per-function overrrides. This way, compiler will complain about style guide violation in new code. It should be noted, that `rustc' is not smart enough to emit warning when override is no longer needed, it must be checked manually.
This commit is contained in:
committed by
Floris Bruynooghe
parent
39cc93240f
commit
c6ccfd824e
@@ -1448,6 +1448,7 @@ unsafe fn dc_mimeparser_add_single_part_if_known(
|
||||
};
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
unsafe fn do_add_single_file_part(
|
||||
parser: &dc_mimeparser_t,
|
||||
msg_type: libc::c_int,
|
||||
@@ -1755,6 +1756,7 @@ pub unsafe fn mailimf_get_recipients(imffields: *mut mailimf_fields) -> HashSet<
|
||||
/* ******************************************************************************
|
||||
* low-level-tools for getting a list of all recipients
|
||||
******************************************************************************/
|
||||
#[allow(non_snake_case)]
|
||||
unsafe fn mailimf_get_recipients__add_addr(
|
||||
recipients: &mut HashSet<String>,
|
||||
mb: *mut mailimf_mailbox,
|
||||
|
||||
Reference in New Issue
Block a user