about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-05-24 15:08:07 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-24 15:08:07 -0400
commitbe7b576cc5030e9824ff8f8025dbef9ba92c7fab (patch)
treefe0b58c19731d8a5eced98c09d551f83ed8d3271
parent02af34def742cf1e1ad0427e1a1760114ceefdc7 (diff)
downloadrust-be7b576cc5030e9824ff8f8025dbef9ba92c7fab.tar.gz
rust-be7b576cc5030e9824ff8f8025dbef9ba92c7fab.zip
correct typo in comment
-rw-r--r--src/librustc_trans/partitioning.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans/partitioning.rs b/src/librustc_trans/partitioning.rs
index d2ddbccee8b..2ded643ef4f 100644
--- a/src/librustc_trans/partitioning.rs
+++ b/src/librustc_trans/partitioning.rs
@@ -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);