Skip to content

Commit 3fba811

Browse files
committed
Update comment to match the changed code below
1 parent e0ba421 commit 3fba811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/const_eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub fn op_to_const<'tcx>(
9696
op: OpTy<'tcx>,
9797
may_normalize: bool,
9898
) -> EvalResult<'tcx, ty::Const<'tcx>> {
99-
// We do not normalize just any data. Only scalar layout and fat pointers.
99+
// We do not normalize just any data. Only scalar layout and slices.
100100
let normalize = may_normalize
101101
&& match op.layout.abi {
102102
layout::Abi::Scalar(..) => true,

0 commit comments

Comments
 (0)