Skip to content

Commit 67eb8dc

Browse files
wesbillmanPinky
andcommitted
fix(desktop): satisfy rust lint on shortcut branch
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes <wesbillman@users.noreply.github.com>
1 parent ad0e4d0 commit 67eb8dc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

desktop/src-tauri/src/managed_agents/runtime.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ fn name_matches_known_binary(name: &str) -> bool {
6464
/// a managed agent wrapper (e.g. `node` running an npm shim for `codex-acp`).
6565
/// Callers must additionally verify `BUZZ_MANAGED_AGENT` ownership.
6666
fn name_matches_interpreter(name: &str) -> bool {
67-
KNOWN_SCRIPT_INTERPRETERS
68-
.iter()
69-
.any(|&interp| name == interp)
67+
KNOWN_SCRIPT_INTERPRETERS.contains(&name)
7068
}
7169

7270
#[cfg(unix)]

0 commit comments

Comments
 (0)