]> git.lizzy.rs Git - rust.git/commit
std: Deprecate the copy_{,mut_}lifetime functions
authorAlex Crichton <alex@alexcrichton.com>
Thu, 11 Jun 2015 01:03:13 +0000 (18:03 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 17 Jun 2015 16:07:16 +0000 (09:07 -0700)
commit153de4c5d9e7846a029f9c79fb9940f72f5961f9
treeaee7ac947109a124b6238c0e10760b863dcdd2f6
parent669d1cd9e28aa6a6aa181c29b9d68edd33491f6f
std: Deprecate the copy_{,mut_}lifetime functions

Unsafe patterns such as `slice::from_raw_parts` and `CStr::from_ptr` have shown
that dealing with lifetimes, while useful, is often a hindrance. Consequently
these functions are rarely called today and are being deprecated.
src/libcore/mem.rs