Skip to content

Commit

Permalink
clippy::fn_params_excessive_bools
Browse files Browse the repository at this point in the history
warning: more than 3 bools in function parameters
   --> src/cmd/joinp.rs:532:5
    |
532 | /     fn new_join(
533 | |         &mut self,
534 | |         try_parsedates: bool,
535 | |         infer_len: usize,
...   |
698 | |         })
699 | |     }
    | |_____^
    |
    = help: consider refactoring bools into two-variant enums
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#fn_params_excessive_bools
    = note: `-W clippy::fn-params-excessive-bools` implied by `-W clippy::pedantic`
    = help: to override `-W clippy::pedantic` add `#[allow(clippy::fn_params_excessive_bools)]`
  • Loading branch information
jqnatividad committed Oct 27, 2024
1 parent 9baaf45 commit 5fc3591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/joinp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ impl JoinStruct {
}

impl Args {
#[allow(clippy::fn_params_excessive_bools)]
fn new_join(
&mut self,
try_parsedates: bool,
Expand Down

0 comments on commit 5fc3591

Please sign in to comment.