about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-07-06 11:07:22 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-07-06 11:07:22 +1000
commit3078e4d804f8ed059e3224a2b6f391928f5259e3 (patch)
tree96c82950e2d1da40ba5a585ce25a6b30cf7c6db1 /compiler/rustc_monomorphize/src
parentb51169c178a535c8533d21be362c3c4e4d4f0cb7 (diff)
downloadrust-3078e4d804f8ed059e3224a2b6f391928f5259e3.tar.gz
rust-3078e4d804f8ed059e3224a2b6f391928f5259e3.zip
Minor comment fix.
Diffstat (limited to 'compiler/rustc_monomorphize/src')
-rw-r--r--compiler/rustc_monomorphize/src/partitioning.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_monomorphize/src/partitioning.rs b/compiler/rustc_monomorphize/src/partitioning.rs
index fc4b22285ba..f9e73bcb682 100644
--- a/compiler/rustc_monomorphize/src/partitioning.rs
+++ b/compiler/rustc_monomorphize/src/partitioning.rs
@@ -421,9 +421,9 @@ fn merge_codegen_units<'tcx>(
         // zero-padded suffixes, which means they are automatically sorted by
         // names. The numeric suffix width depends on the number of CGUs, which
         // is always greater than zero:
-        // - [1,9]     CGUS: `0`, `1`, `2`, ...
-        // - [10,99]   CGUS: `00`, `01`, `02`, ...
-        // - [100,999] CGUS: `000`, `001`, `002`, ...
+        // - [1,9]     CGUs: `0`, `1`, `2`, ...
+        // - [10,99]   CGUs: `00`, `01`, `02`, ...
+        // - [100,999] CGUs: `000`, `001`, `002`, ...
         // - etc.
         //
         // If we didn't zero-pad the sorted-by-name order would be `XYZ-cgu.0`,