From f8436728dc1a5df064c21bba8cbe422bd74d2e06 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 16 Oct 2023 10:47:38 +0200 Subject: [PATCH] add field_reassign_with_default ignore Co-authored-by: Daniel Hofstetter --- src/uu/join/src/join.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uu/join/src/join.rs b/src/uu/join/src/join.rs index 7f6d1038f..a48ba3657 100644 --- a/src/uu/join/src/join.rs +++ b/src/uu/join/src/join.rs @@ -647,6 +647,7 @@ fn get_and_parse_field_number(matches: &clap::ArgMatches, key: &str) -> UResult< /// /// This function takes the matches from the command-line arguments, processes them, /// and returns a `Settings` struct that encapsulates the configuration for the program. +#[allow(clippy::field_reassign_with_default)] fn parse_settings(matches: &clap::ArgMatches) -> UResult { let keys = get_and_parse_field_number(matches, "j")?; let key1 = get_and_parse_field_number(matches, "1")?;