We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0ba421 commit 3fba811Copy full SHA for 3fba811
src/librustc_mir/const_eval.rs
@@ -96,7 +96,7 @@ pub fn op_to_const<'tcx>(
96
op: OpTy<'tcx>,
97
may_normalize: bool,
98
) -> EvalResult<'tcx, ty::Const<'tcx>> {
99
- // 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.
100
let normalize = may_normalize
101
&& match op.layout.abi {
102
layout::Abi::Scalar(..) => true,
0 commit comments