about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicole L <dlegare.1001@gmail.com>2025-03-11 11:16:10 -0700
committerGitHub <noreply@github.com>2025-03-11 11:16:10 -0700
commitd3c55cd52b40ce2088122933bf3527670a42bd8a (patch)
treef6d890d3609f3579791076a69420a1e9098cb408
parent2b3b0bd50b8e62d837253c6787de0c763ed17bce (diff)
downloadrust-d3c55cd52b40ce2088122933bf3527670a42bd8a.tar.gz
rust-d3c55cd52b40ce2088122933bf3527670a42bd8a.zip
Remove unnecessary parens
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
-rw-r--r--library/std/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/build.rs b/library/std/build.rs
index 20373aab689..a0cfbc4685e 100644
--- a/library/std/build.rs
+++ b/library/std/build.rs
@@ -42,7 +42,7 @@ fn main() {
         || target_os == "fuchsia"
         || (target_vendor == "fortanix" && target_env == "sgx")
         || target_os == "hermit"
-        || target_os == ("trusty")
+        || target_os == "trusty"
         || target_os == "l4re"
         || target_os == "redox"
         || target_os == "haiku"