提交 2f6f0b55 编写于 作者: B Brian Anderson

core: Correct description of cast::forget

'managed' means something different now
上级 8b56287d
......@@ -19,7 +19,7 @@ pub unsafe fn reinterpret_cast<T, U>(src: &T) -> U {
* The forget function will take ownership of the provided value but neglect
* to run any required cleanup or memory-management operations on it. This
* can be used for various acts of magick, particularly when using
* reinterpret_cast on managed pointer types.
* reinterpret_cast on pointer types.
*/
#[inline(always)]
pub unsafe fn forget<T>(thing: T) { rusti::forget(move thing); }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册