Operand::Constant(constant)
}
- // Returns a zero literal operand for the appropriate type, works for
- // bool, char and integers.
+ /// Returns a zero literal operand for the appropriate type, works for
+ /// bool, char and integers.
pub(crate) fn zero_literal(&mut self, span: Span, ty: Ty<'tcx>) -> Operand<'tcx> {
let literal = ConstantKind::from_bits(self.tcx, 0, ty::ParamEnv::empty().and(ty));