mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fix many clippy warnings (#33510)
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
parent
4e4b137eaa
commit
f986160ed4
13 changed files with 29 additions and 34 deletions
|
@ -98,7 +98,7 @@ fn find_python() -> PathBuf {
|
|||
|
||||
for name in &candidates {
|
||||
// Command::new() allows us to omit the `.exe` suffix on windows
|
||||
if Command::new(&name)
|
||||
if Command::new(name)
|
||||
.arg("--version")
|
||||
.output()
|
||||
.is_ok_and(|out| out.status.success())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue