This commit is contained in:
kevin zhao
2025-11-10 18:53:54 -08:00
parent 90411d6e90
commit 7737444356

View File

@@ -5,7 +5,7 @@ use codex_execpolicy2::RuleMatch;
use codex_execpolicy2::rule::PatternToken;
fn tokens(cmd: &[&str]) -> Vec<String> {
cmd.iter().map(|token| token.to_string()).collect()
cmd.iter().map(std::string::ToString::to_string).collect()
}
#[test]