Rollup merge of #62252 - czipperz:change-mem-replace-doc-example, r=dtolnay
Update mem::replace example to not be identical to mem::take This also adds assertions that the operations work as expected.
Showing
想要评论请 注册 或 登录
Update mem::replace example to not be identical to mem::take This also adds assertions that the operations work as expected.