remove todo

This commit is contained in:
Ariel Ben-Yehuda 2015-05-14 01:41:28 +03:00
parent d9b9f4ee7d
commit de4b0e9961

View File

@ -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);
}