diff options
| author | Brian Anderson <andersrb@gmail.com> | 2012-10-05 01:59:37 -0600 |
|---|---|---|
| committer | Brian Anderson <andersrb@gmail.com> | 2012-10-05 01:59:37 -0600 |
| commit | 2f6f0b55fc438764e4e11fb90ecf41ac3a739a67 (patch) | |
| tree | ebd7f9c48116aa79fa7aed379776748b97df4a8f /src/libcore | |
| parent | 8b56287d607a7445a33099f852969099d1cfd790 (diff) | |
| download | rust-2f6f0b55fc438764e4e11fb90ecf41ac3a739a67.tar.gz rust-2f6f0b55fc438764e4e11fb90ecf41ac3a739a67.zip | |
core: Correct description of cast::forget
'managed' means something different now
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/cast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); } |
