core: Correct description of cast::forget

'managed' means something different now
This commit is contained in:
Brian Anderson 2012-10-05 01:59:37 -06:00
parent 8b56287d60
commit 2f6f0b55fc

View File

@ -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); }