From 0e1c41e47a3577707e8e14dbd1d48f349bcce126 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Sun, 20 Apr 2014 18:54:16 -0700 Subject: [PATCH 1/2] remove meaningless sentence and update copyright. --- src/libstd/cast.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/libstd/cast.rs b/src/libstd/cast.rs index f9f9e395f2e03..fc1ddd535d2bc 100644 --- a/src/libstd/cast.rs +++ b/src/libstd/cast.rs @@ -1,6 +1,6 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. +// Copyright 2012-2013 The Rust Project Developers. +// See the COPYRIGHT file at the top-level directory of this +// distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license @@ -28,8 +28,7 @@ pub unsafe fn transmute_copy(src: &T) -> U { * Move a thing into the void * * 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. + * to run any required cleanup or memory-management operations on it. */ #[inline] pub unsafe fn forget(thing: T) { intrinsics::forget(thing); } From 0b6a4387230b1f586f86bb996e33e7adf8f70c2a Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Sun, 20 Apr 2014 20:07:55 -0700 Subject: [PATCH 2/2] fix copyright message based on `make check` --- src/libstd/cast.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libstd/cast.rs b/src/libstd/cast.rs index fc1ddd535d2bc..4c318d6d06d26 100644 --- a/src/libstd/cast.rs +++ b/src/libstd/cast.rs @@ -1,6 +1,6 @@ -// Copyright 2012-2013 The Rust Project Developers. -// See the COPYRIGHT file at the top-level directory of this -// distribution and at // http://rust-lang.org/COPYRIGHT. +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license