We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70324e2 commit 8e94518Copy full SHA for 8e94518
src/librustc_mir/const_eval.rs
@@ -118,7 +118,7 @@ pub fn op_to_const<'tcx>(
118
op: OpTy<'tcx>,
119
may_normalize: bool,
120
) -> EvalResult<'tcx, ty::Const<'tcx>> {
121
- // We do not normalize just any data. Only scalar layout and fat pointers.
+ // We do not normalize just any data. Only scalar layout and slices.
122
let normalize = may_normalize
123
&& match op.layout.abi {
124
layout::Abi::Scalar(..) => true,
0 commit comments