Skip to content

Commit 24a8086

Browse files
authored
Rollup merge of rust-lang#103015 - whentojump:patch, r=compiler-errors
fix a typo
2 parents 5af9337 + 5191256 commit 24a8086

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_llvm/src/back

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/back/write.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ pub(crate) fn link(
537537
mut modules: Vec<ModuleCodegen<ModuleLlvm>>,
538538
) -> Result<ModuleCodegen<ModuleLlvm>, FatalError> {
539539
use super::lto::{Linker, ModuleBuffer};
540-
// Sort the modules by name to ensure to ensure deterministic behavior.
540+
// Sort the modules by name to ensure deterministic behavior.
541541
modules.sort_by(|a, b| a.name.cmp(&b.name));
542542
let (first, elements) =
543543
modules.split_first().expect("Bug! modules must contain at least one module.");

0 commit comments

Comments
 (0)