Skip to content

Commit

Permalink
fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Aug 2, 2022
1 parent 98e11b8 commit 27013d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/layout_sanity_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down

0 comments on commit 27013d2

Please sign in to comment.