]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/dead.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc / middle / dead.rs
index 807d5a31143d93407a70fbff9b55ed42a6fa39e8..934d7c12be552883565e14c9b6f7dc593e34f04a 100644 (file)
@@ -311,7 +311,7 @@ fn has_allow_dead_code_or_lang_attr(tcx: TyCtxt<'_, '_, '_>,
     let cg_attrs = tcx.codegen_fn_attrs(def_id);
 
     // #[used], #[no_mangle], #[export_name], etc also keeps the item alive
-    // forcefully, e.g. for placing it in a specific section.
+    // forcefully, e.g., for placing it in a specific section.
     if cg_attrs.contains_extern_indicator() ||
         cg_attrs.flags.contains(CodegenFnAttrFlags::USED) {
         return true;