Reverse comparison order

Co-authored-by: beef <ent3rm4n@gmail.com>
This commit is contained in:
Julien Cretin
2025-07-07 08:49:10 +02:00
committed by GitHub
parent 4bdd671358
commit cdbdd8a4ad

View File

@@ -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("{");
}