]> git.lizzy.rs Git - rust.git/commit
Auto merge of #106981 - joboet:std_remove_box_syntax, r=thomcc
authorbors <bors@rust-lang.org>
Mon, 23 Jan 2023 01:05:56 +0000 (01:05 +0000)
committerbors <bors@rust-lang.org>
Mon, 23 Jan 2023 01:05:56 +0000 (01:05 +0000)
commitd3322e277311033bd6dd646b1ad7f2604db0c946
treeb4c8ebe7210f7ef44b419d2c80ad9b2358c76957
parenta5fa99eed20a46a88c0c85eed6552a94b6656634
parent7f2cf191917e4e562ee49ab51a324714bbb36412
Auto merge of #106981 - joboet:std_remove_box_syntax, r=thomcc

Do not use box syntax in `std`

See #94970 and #49733. About half of the `box` instances in `std` do not even need to allocate, the other half can simply be replaced with `Box::new`.

`@rustbot` label +T-libs
r? rust-lang/libs