bors 8dabf5da9e Auto merge of #107167 - the8472:rawvec-simpler-layout, r=thomcc
simplify layout calculations in rawvec

The use of `Layout::array` was introduced in #83706 which lead to a [perf regression](https://github.com/rust-lang/rust/pull/83706#issuecomment-1048377719).

This PR basically reverts that change since rust currently only supports stride == size types, but to be on the safe side it leaves a const-assert there to make sure this gets caught if those assumptions ever change.
2023-02-11 15:08:30 +00:00
..
2023-02-09 10:26:49 +00:00
2023-02-09 10:26:49 +00:00
2023-02-09 10:26:49 +00:00
2023-02-10 15:24:39 +01:00
2023-02-09 10:26:49 +00:00
2023-02-09 20:38:27 -05:00
2023-02-09 10:26:49 +00:00
2023-02-09 10:26:49 +00:00