]> git.lizzy.rs Git - rust.git/commit
Mark `boxed::into_raw` as safe
authorMichael Layzell <michael@thelayzells.com>
Mon, 25 May 2015 01:45:29 +0000 (21:45 -0400)
committerMichael Layzell <michael@thelayzells.com>
Mon, 25 May 2015 01:45:29 +0000 (21:45 -0400)
commit04ab4a34719979d7f17b4c0df82ac8dbf08af1ad
treedc604e17b9e4b98a216ecdfdba13ffd1a7a3668f
parent893e4169337016cc5bbe4048f2132b896bda8ce8
Mark `boxed::into_raw` as safe

By the same logic that `mem::forget` is safe, `boxed::into_raw` is actually a safe function. Fixes #25755.
src/liballoc/boxed.rs