Silence cognitive complexity warnings

This commit is contained in:
Josh Holmer 2020-03-02 01:45:04 -05:00
parent b9dc9e72bb
commit bded03908f
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@
#![warn(clippy::needless_continue)]
#![warn(clippy::path_buf_push_overwrite)]
#![warn(clippy::range_plus_one)]
#![allow(clippy::cognitive_complexity)]
use num_cpus;
#[cfg(feature = "parallel")]

View file

@ -11,6 +11,7 @@
#![warn(clippy::needless_continue)]
#![warn(clippy::path_buf_push_overwrite)]
#![warn(clippy::range_plus_one)]
#![allow(clippy::cognitive_complexity)]
use clap::{App, AppSettings, Arg, ArgMatches};
use oxipng::AlphaOptim;