Skip to content

Commit 5a2cec2

Browse files
authored
Rollup merge of #120602 - klensy:mono-comment, r=nnethercote
rustc_monomorphize: fix outdated comment in partition `max_cgu_count` was removed in 5182151, but not comment (usage in `merge_codegen_units` was removed earlier). r? `@nnethercote`
2 parents 89aa85d + 17f0919 commit 5a2cec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_monomorphize/src/partitioning.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ where
156156
placed
157157
};
158158

159-
// Merge until we have at most `max_cgu_count` codegen units.
159+
// Merge until we don't exceed the max CGU count.
160160
// `merge_codegen_units` is responsible for updating the CGU size
161161
// estimates.
162162
{

0 commit comments

Comments
 (0)