From de4b0e996192d6784e0a65c66d095a6198894c47 Mon Sep 17 00:00:00 2001 From: Ariel Ben-Yehuda Date: Thu, 14 May 2015 01:41:28 +0300 Subject: [PATCH] remove todo --- src/librustc_typeck/check/cast.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }