]> git.lizzy.rs Git - rust.git/commitdiff
fix a comment
authorRalf Jung <post@ralfj.de>
Tue, 2 Aug 2022 12:05:11 +0000 (08:05 -0400)
committerRalf Jung <post@ralfj.de>
Tue, 2 Aug 2022 12:05:11 +0000 (08:05 -0400)
compiler/rustc_middle/src/ty/layout_sanity_check.rs

index 38dc65338371a7774d306af083b1f89bd17864bb..87c85dcfff34af92bb1b0acb8b4124158be8ad7c 100644 (file)
@@ -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>,