From 2f6f0b55fc438764e4e11fb90ecf41ac3a739a67 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 5 Oct 2012 01:59:37 -0600 Subject: [PATCH] core: Correct description of cast::forget 'managed' means something different now --- src/libcore/cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/cast.rs b/src/libcore/cast.rs index dce95aa2215..030f05c6eea 100644 --- a/src/libcore/cast.rs +++ b/src/libcore/cast.rs @@ -19,7 +19,7 @@ pub unsafe fn reinterpret_cast(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(thing: T) { rusti::forget(move thing); } -- GitLab