diff options
| author | Julien Cretin <github@ia0.eu> | 2025-07-07 08:49:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-07 08:49:10 +0200 |
| commit | cdbdd8a4ad9b65fec77b5b94d5650823b52fa910 (patch) | |
| tree | 1bb263f7016f35641c145f8e6002e2e9c97546c5 /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | 4bdd671358ef8019f5f8bf048b5241419c2160b8 (diff) | |
| download | rust-cdbdd8a4ad9b65fec77b5b94d5650823b52fa910.tar.gz rust-cdbdd8a4ad9b65fec77b5b94d5650823b52fa910.zip | |
Reverse comparison order
Co-authored-by: beef <ent3rm4n@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index 4b112f1c608..e042fe1f819 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -495,7 +495,7 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for LinkingFailed<'_> { }; let mut arg = dir.into_os_string(); arg.push("/"); - let needs_braces = 2 <= rlibs.len(); + let needs_braces = rlibs.len() >= 2; if needs_braces { arg.push("{"); } |
