Rollup merge of #120602 - klensy:mono-comment, r=nnethercote

rustc_monomorphize: fix outdated comment in partition

`max_cgu_count` was removed in 51821515b3, but not comment (usage in `merge_codegen_units` was removed earlier).

r? `@nnethercote`
This commit is contained in:
Matthias Krüger 2024-02-06 19:40:07 +01:00 committed by GitHub
commit 5a2cec2615
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,7 +156,7 @@ fn partition<'tcx, I>(
placed
};
// Merge until we have at most `max_cgu_count` codegen units.
// Merge until we don't exceed the max CGU count.
// `merge_codegen_units` is responsible for updating the CGU size
// estimates.
{