Skip to content

Commit 27013d2

Browse files
committed
fix a comment
1 parent 98e11b8 commit 27013d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_middle/src/ty/layout_sanity_check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub(super) fn sanity_check_layout<'tcx>(
2121
}
2222

2323
if cfg!(debug_assertions) {
24-
/// Yields non-1-ZST fields of the type
24+
/// Yields non-ZST fields of the type
2525
fn non_zst_fields<'tcx, 'a>(
2626
cx: &'a LayoutCx<'tcx, TyCtxt<'tcx>>,
2727
layout: &'a TyAndLayout<'tcx>,

0 commit comments

Comments
 (0)