remove meaningless sentence and update copyright.

This commit is contained in:
Ryan Mulligan 2014-04-20 18:54:16 -07:00
parent b400a4d272
commit 0e1c41e47a

View File

@ -1,6 +1,6 @@
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // Copyright 2012-2013 The Rust Project Developers.
// file at the top-level directory of this distribution and at // See the COPYRIGHT file at the top-level directory of this
// http://rust-lang.org/COPYRIGHT. // distribution and at // http://rust-lang.org/COPYRIGHT.
// //
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
@ -28,8 +28,7 @@ pub unsafe fn transmute_copy<T, U>(src: &T) -> U {
* Move a thing into the void * Move a thing into the void
* *
* The forget function will take ownership of the provided value but neglect * The forget function will take ownership of the provided value but neglect
* to run any required cleanup or memory-management operations on it. This * to run any required cleanup or memory-management operations on it.
* can be used for various acts of magick.
*/ */
#[inline] #[inline]
pub unsafe fn forget<T>(thing: T) { intrinsics::forget(thing); } pub unsafe fn forget<T>(thing: T) { intrinsics::forget(thing); }