diff options
| author | Ralf Jung <post@ralfj.de> | 2022-08-02 08:05:11 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-08-02 08:05:11 -0400 |
| commit | 27013d23638adcc115c5c460e7c6d0abca9cc1c9 (patch) | |
| tree | ae7014df4dfbed838620a73463c8710321b97877 | |
| parent | 98e11b8aeddf5b259a8c839c346fd26c03efc50d (diff) | |
| download | rust-27013d23638adcc115c5c460e7c6d0abca9cc1c9.tar.gz rust-27013d23638adcc115c5c460e7c6d0abca9cc1c9.zip | |
fix a comment
| -rw-r--r-- | compiler/rustc_middle/src/ty/layout_sanity_check.rs | 2 |
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>, |
