Skip to content

Commit f843672

Browse files
sylvestrecakebaker
andauthored
add field_reassign_with_default ignore
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
1 parent 3a78045 commit f843672

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uu/join/src/join.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ fn get_and_parse_field_number(matches: &clap::ArgMatches, key: &str) -> UResult<
647647
///
648648
/// This function takes the matches from the command-line arguments, processes them,
649649
/// and returns a `Settings` struct that encapsulates the configuration for the program.
650+
#[allow(clippy::field_reassign_with_default)]
650651
fn parse_settings(matches: &clap::ArgMatches) -> UResult<Settings> {
651652
let keys = get_and_parse_field_number(matches, "j")?;
652653
let key1 = get_and_parse_field_number(matches, "1")?;

0 commit comments

Comments
 (0)