Make Vec.truncate() resilient against failure in Drop
If a vector element fails in Drop, Vec needs to make sure it doesn't try to re-drop any elements it already dropped.
Showing
想要评论请 注册 或 登录
If a vector element fails in Drop, Vec needs to make sure it doesn't try to re-drop any elements it already dropped.