1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

ls: remove cognitive_complexity clippy allow

This commit is contained in:
Sylvestre Ledru 2023-04-11 23:03:41 +02:00
parent 33d4ab82ba
commit ee0fc86ce8

View file

@ -609,7 +609,6 @@ fn extract_indicator_style(options: &clap::ArgMatches) -> IndicatorStyle {
} }
impl Config { impl Config {
#[allow(clippy::cognitive_complexity)]
pub fn from(options: &clap::ArgMatches) -> UResult<Self> { pub fn from(options: &clap::ArgMatches) -> UResult<Self> {
let context = options.get_flag(options::CONTEXT); let context = options.get_flag(options::CONTEXT);
let (mut format, opt) = extract_format(options); let (mut format, opt) = extract_format(options);