From 17f0919e8acba48224558c7ebcfc06f14d30d235 Mon Sep 17 00:00:00 2001 From: klensy Date: Sat, 3 Feb 2024 12:33:00 +0300 Subject: [PATCH] rustc_monomorphize: fix outdated comment in partition --- compiler/rustc_monomorphize/src/partitioning.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_monomorphize/src/partitioning.rs b/compiler/rustc_monomorphize/src/partitioning.rs index 7ff182381b8..032686101d9 100644 --- a/compiler/rustc_monomorphize/src/partitioning.rs +++ b/compiler/rustc_monomorphize/src/partitioning.rs @@ -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. {