Skip to content

Commit 74e2bc5

Browse files
committed
remove todo
1 parent b981741 commit 74e2bc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_typeck/check/cast.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,8 @@ impl<'tcx> CastCheck<'tcx> {
338338
// To allow unsafe pointers to work correctly, we
339339
// need to special-case obtaining an unsafe pointer
340340
// from a region pointer to a vector.
341-
// TODO: explain comment.
342341

343-
// this will report a type mismatch if needed
342+
// this will report a type mismatch if needed
344343
demand::eqtype(fcx, self.span, ety, m_1.ty);
345344
return Ok(CastKind::ArrayPtrCast);
346345
}

0 commit comments

Comments
 (0)