Skip to content

Commit cdbdd8a

Browse files
ia0fee1-dead
andauthored
Reverse comparison order
Co-authored-by: beef <[email protected]>
1 parent 4bdd671 commit cdbdd8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for LinkingFailed<'_> {
495495
};
496496
let mut arg = dir.into_os_string();
497497
arg.push("/");
498-
let needs_braces = 2 <= rlibs.len();
498+
let needs_braces = rlibs.len() >= 2;
499499
if needs_braces {
500500
arg.push("{");
501501
}

0 commit comments

Comments
 (0)