about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-08-02 08:05:11 -0400
committerRalf Jung <post@ralfj.de>2022-08-02 08:05:11 -0400
commit27013d23638adcc115c5c460e7c6d0abca9cc1c9 (patch)
treeae7014df4dfbed838620a73463c8710321b97877
parent98e11b8aeddf5b259a8c839c346fd26c03efc50d (diff)
downloadrust-27013d23638adcc115c5c460e7c6d0abca9cc1c9.tar.gz
rust-27013d23638adcc115c5c460e7c6d0abca9cc1c9.zip
fix a comment
-rw-r--r--compiler/rustc_middle/src/ty/layout_sanity_check.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/layout_sanity_check.rs b/compiler/rustc_middle/src/ty/layout_sanity_check.rs
index 38dc6533837..87c85dcfff3 100644
--- a/compiler/rustc_middle/src/ty/layout_sanity_check.rs
+++ b/compiler/rustc_middle/src/ty/layout_sanity_check.rs
@@ -21,7 +21,7 @@ pub(super) fn sanity_check_layout<'tcx>(
     }
 
     if cfg!(debug_assertions) {
-        /// Yields non-1-ZST fields of the type
+        /// Yields non-ZST fields of the type
         fn non_zst_fields<'tcx, 'a>(
             cx: &'a LayoutCx<'tcx, TyCtxt<'tcx>>,
             layout: &'a TyAndLayout<'tcx>,