aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/build.rs
diff options
context:
space:
mode:
authorGae24 <96017547+Gae24@users.noreply.github.com>2024-09-21 15:58:31 +0200
committerGitHub <noreply@github.com>2024-09-21 13:58:31 +0000
commitf986160ed405817160e89b178e8e3b372132e792 (patch)
treea8d0df12ec630bfeded55e11e1c27b7816dca7bc /components/script/build.rs
parent4e4b137eaa242fea4356e30b36f9ef3262781968 (diff)
downloadservo-f986160ed405817160e89b178e8e3b372132e792.tar.gz
servo-f986160ed405817160e89b178e8e3b372132e792.zip
fix many clippy warnings (#33510)
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Diffstat (limited to 'components/script/build.rs')
-rw-r--r--components/script/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/build.rs b/components/script/build.rs
index ea598ae57ff..52ccbbee784 100644
--- a/components/script/build.rs
+++ b/components/script/build.rs
@@ -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())