Skip to content

Commit 8e94518

Browse files
committed
Update comment to match the changed code below
1 parent 70324e2 commit 8e94518

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
@@ -118,7 +118,7 @@ pub fn op_to_const<'tcx>(
118118
op: OpTy<'tcx>,
119119
may_normalize: bool,
120120
) -> EvalResult<'tcx, ty::Const<'tcx>> {
121-
// We do not normalize just any data. Only scalar layout and fat pointers.
121+
// We do not normalize just any data. Only scalar layout and slices.
122122
let normalize = may_normalize
123123
&& match op.layout.abi {
124124
layout::Abi::Scalar(..) => true,

0 commit comments

Comments
 (0)