Apply argument comment lint across codex-rs

This commit is contained in:
Michael Bolin
2026-03-14 08:57:33 -07:00
parent 4b31848f5b
commit 667468034f
210 changed files with 1669 additions and 982 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ impl ExecPolicyCheckCommand {
let policy = load_policies(&self.rules)?;
let matched_rules = policy.matches_for_command_with_options(
&self.command,
None,
/*heuristics_fallback*/ None,
&MatchOptions {
resolve_host_executables: self.resolve_host_executables,
},
+2 -2
View File
@@ -255,7 +255,7 @@ pub(crate) fn validate_match_examples(
for example in matches {
if !policy
.matches_for_command_with_options(example, None, &options)
.matches_for_command_with_options(example, /*heuristics_fallback*/ None, &options)
.is_empty()
{
continue;
@@ -290,7 +290,7 @@ pub(crate) fn validate_not_match_examples(
for example in not_matches {
if let Some(rule) = policy
.matches_for_command_with_options(example, None, &options)
.matches_for_command_with_options(example, /*heuristics_fallback*/ None, &options)
.first()
{
return Err(Error::ExampleDidMatch {