Skip to content

Commit

Permalink
Prevents a false-positive clippy error trigger [fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Nov 2, 2023
1 parent 23c30ea commit f3d2f3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ fn arg_require_none() -> Arg {
}

fn arg_require() -> Arg {
#![allow(clippy::needless_raw_string_hashes)]
Arg::new(A_L_REQUIRE)
.help("Mark a propery as required")
.long_help(formatcp!(
Expand Down

0 comments on commit f3d2f3a

Please sign in to comment.