Apply argument comment lint across codex-rs

This commit is contained in:
Michael Bolin
2026-03-13 18:04:19 -07:00
parent 139eaf76ad
commit d15901c0ca
207 changed files with 1645 additions and 943 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 {