Skip to content

Commit be7b576

Browse files
committed
correct typo in comment
1 parent 02af34d commit be7b576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trans/partitioning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ fn place_root_translation_items<'a, 'tcx, I>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
228228
}
229229
}
230230

231-
// always ensure we have at least one CGO; otherwise, if we have a
231+
// always ensure we have at least one CGU; otherwise, if we have a
232232
// crate with just types (for example), we could wind up with no CGU
233233
if codegen_units.is_empty() {
234234
let codegen_unit_name = InternedString::new(FALLBACK_CODEGEN_UNIT);

0 commit comments

Comments
 (0)