]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #80438 - crlf0710:box_into_inner, r=m-ou-se
authorYuki Okushi <huyuumi.dev@gmail.com>
Wed, 10 Feb 2021 03:24:19 +0000 (12:24 +0900)
committerGitHub <noreply@github.com>
Wed, 10 Feb 2021 03:24:19 +0000 (12:24 +0900)
commita28f2afbeb341a5d59730091af4d59e953f9e767
tree9b25065cd52e87a13b5e3861a6fe1b8b19f87af2
parentbb06b13131d71eabfd7c4cecac9c10032715e9bd
parentce7de07866b5b1a6e2c5458ecf7d3470f8492fd1
Rollup merge of #80438 - crlf0710:box_into_inner, r=m-ou-se

Add `Box::into_inner`.

This adds a `Box::into_inner` method to the `Box` type. <del>I actually suggest deprecating the compiler magic of `*b` if this gets stablized in the future.</del>

r? `@m-ou-se`
library/alloc/src/boxed.rs