aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/servo/build.rs')
-rw-r--r--components/servo/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/servo/build.rs b/components/servo/build.rs
index 65f751b89cb..16ca4580bba 100644
--- a/components/servo/build.rs
+++ b/components/servo/build.rs
@@ -49,7 +49,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())