diff --git a/src/librustc_typeck/check/cast.rs b/src/librustc_typeck/check/cast.rs index 6ae6d21f987..c3432546b7c 100644 --- a/src/librustc_typeck/check/cast.rs +++ b/src/librustc_typeck/check/cast.rs @@ -338,9 +338,8 @@ impl<'tcx> CastCheck<'tcx> { // To allow unsafe pointers to work correctly, we // need to special-case obtaining an unsafe pointer // from a region pointer to a vector. - // TODO: explain comment. - // this will report a type mismatch if needed + // this will report a type mismatch if needed demand::eqtype(fcx, self.span, ety, m_1.ty); return Ok(CastKind::ArrayPtrCast); }