Skip to content

Commit 3433486

Browse files
wan9chicodex
andcommitted
chore: remove unrelated formatting changes
Co-authored-by: GPT-5 Codex <codex@openai.com>
1 parent 8a1c4ba commit 3433486

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

crates/fspy/src/windows/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,7 @@ impl SpyImpl {
6666
Ok(Self { ansi_dll_path_with_nul: ansi_dll_path_with_nul.into() })
6767
}
6868

69-
#[expect(
70-
clippy::unused_async,
71-
clippy::unused_async_trait_impl,
72-
reason = "platform implementations share an async call site"
73-
)]
69+
#[expect(clippy::unused_async, reason = "async signature required by SpyImpl trait")]
7470
pub(crate) async fn spawn(
7571
&self,
7672
mut command: Command,

crates/vite_powershell/src/lib.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ use vite_path::{AbsolutePath, AbsolutePathBuf};
2727
pub const POWERSHELL_PREFIX: &[&str] =
2828
&["-NoProfile", "-NoLogo", "-ExecutionPolicy", "Bypass", "-File"];
2929

30-
/// Cached location of the `PowerShell` host.
31-
///
32-
/// Prefers cross-platform `pwsh.exe` when present, falling back to the Windows
33-
/// built-in `powershell.exe`. Returns `None` on non-Windows or when neither
34-
/// host is on `PATH`.
30+
/// Cached location of the `PowerShell` host. Prefers cross-platform
31+
/// `pwsh.exe` when present, falling back to the Windows built-in
32+
/// `powershell.exe`. Returns `None` on non-Windows or when neither host
33+
/// is on `PATH`.
3534
///
3635
/// Cached as `Arc<AbsolutePath>` so callers that want shared ownership
3736
/// (e.g. `vite_task_plan`'s plan-time rewrite) can do `Arc::clone(host)`

0 commit comments

Comments
 (0)