Skip to content

Commit 7f485fb

Browse files
committed
placate tidy.
1 parent 2a83379 commit 7f485fb

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_codegen_llvm/back

1 file changed

+1
-1
lines changed

src/librustc_codegen_llvm/back/lto.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ fn thin_lto(cgcx: &CodegenContext<LlvmCodegenBackend>,
584584
fn equivalent_as_sets(a: &[String], b: &[String]) -> bool {
585585
// cheap path: unequal lengths means cannot possibly be set equivalent.
586586
if a.len() != b.len() { return false; }
587-
// fast path: before taking time to build up sorted clones, just see if the given inputs are equivant as is.
587+
// fast path: before sorting, check if inputs are equivalent as is.
588588
if a == b { return true; }
589589
// slow path: compare sorted contents
590590
let mut a: Vec<&str> = a.iter().map(|s| s.as_str()).collect();

0 commit comments

Comments
 (0)