style(release): rustfmt install.rs

e5283cb022 landed an unformatted condition in InstallMethod detection, so
cargo fmt --check (Lint) failed on main and on every PR merged with it
(seen on #7111). Pure rustfmt output; no behavior change.

Verified: rustfmt --edition 2024 on the file yields this exact content; the
CI Lint log reported this as the only fmt diff.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
CodeWhale BotandClaude Opus 5.5 committed 2026-10-27 20:00:10 -07:00
1 parent d65165c6b7
commit 3c5c6054df
1 file changed
+5 -6
+5 -6
View File
@@ -135,12 +135,11 @@ impl InstallMethod {
let has = |name: &str| components.iter().any(|c| c == name);
if components
.windows(3)
.any(|parts| parts[0].ends_with(".app") && parts[1] == "contents" && parts[2] == "macos")
|| components
.windows(2)
.any(|pair| pair[0] == "gpui" && pair[1] == "engine")
if components.windows(3).any(|parts| {
parts[0].ends_with(".app") && parts[1] == "contents" && parts[2] == "macos"
}) || components
.windows(2)
.any(|pair| pair[0] == "gpui" && pair[1] == "engine")
{
return Self::DesktopApp;
}