]> git.lizzy.rs Git - rust.git/commitdiff
correct typo in comment
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 24 May 2016 19:08:07 +0000 (15:08 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 24 May 2016 19:08:07 +0000 (15:08 -0400)
src/librustc_trans/partitioning.rs

index d2ddbccee8b424494ea70078a1f5018958fdac7e..2ded643ef4fdd309da56c954925557c879a8f2b1 100644 (file)
@@ -228,7 +228,7 @@ fn place_root_translation_items<'a, 'tcx, I>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
         }
     }
 
-    // always ensure we have at least one CGO; otherwise, if we have a
+    // always ensure we have at least one CGU; otherwise, if we have a
     // crate with just types (for example), we could wind up with no CGU
     if codegen_units.is_empty() {
         let codegen_unit_name = InternedString::new(FALLBACK_CODEGEN_UNIT);