mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
Reduce the scope of clippy exceptions
This prevents creation of new overly complex functions.
This commit is contained in:
committed by
holger krekel
parent
0f52f63863
commit
1732c3b350
@@ -49,7 +49,7 @@ pub fn dc_is_configured(context: &Context) -> bool {
|
||||
/*******************************************************************************
|
||||
* Configure JOB
|
||||
******************************************************************************/
|
||||
#[allow(non_snake_case, unused_must_use)]
|
||||
#[allow(non_snake_case, unused_must_use, clippy::cognitive_complexity)]
|
||||
pub fn JobConfigureImap(context: &Context) -> job::Status {
|
||||
if !context.sql.is_open() {
|
||||
error!(context, "Cannot configure, database not opened.",);
|
||||
|
||||
Reference in New Issue
Block a user