From 27013d23638adcc115c5c460e7c6d0abca9cc1c9 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 2 Aug 2022 08:05:11 -0400 Subject: [PATCH] fix a comment --- compiler/rustc_middle/src/ty/layout_sanity_check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>,