Skip to content

Commit 3078e4d

Browse files
committed
Minor comment fix.
1 parent b51169c commit 3078e4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_monomorphize/src/partitioning.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,9 @@ fn merge_codegen_units<'tcx>(
421421
// zero-padded suffixes, which means they are automatically sorted by
422422
// names. The numeric suffix width depends on the number of CGUs, which
423423
// is always greater than zero:
424-
// - [1,9] CGUS: `0`, `1`, `2`, ...
425-
// - [10,99] CGUS: `00`, `01`, `02`, ...
426-
// - [100,999] CGUS: `000`, `001`, `002`, ...
424+
// - [1,9] CGUs: `0`, `1`, `2`, ...
425+
// - [10,99] CGUs: `00`, `01`, `02`, ...
426+
// - [100,999] CGUs: `000`, `001`, `002`, ...
427427
// - etc.
428428
//
429429
// If we didn't zero-pad the sorted-by-name order would be `XYZ-cgu.0`,

0 commit comments

Comments
 (0)