rust/library/core
Mara Bos 0083e6c989
Rollup merge of #81879 - imbrem:make-reverse-repr-transparent, r=m-ou-se
Added #[repr(transparent)] to core::cmp::Reverse

I found casting from an `&T` to an `&Reverse<T>` potentially useful, but found that `Reverse` was not `#[repr(transparent)]`, so after asking about it [on Reddit](https://www.reddit.com/r/rust/comments/le60uv/make_stdcmpreverse_reprtransparent_and_add_a/), I decided to go ahead and make a pull request which simply adds the attribute to the struct.
2021-03-09 09:05:19 +00:00
..
benches Auto merge of #74024 - Folyd:master, r=m-ou-se 2021-03-05 20:12:13 +00:00
src Rollup merge of #81879 - imbrem:make-reverse-repr-transparent, r=m-ou-se 2021-03-09 09:05:19 +00:00
tests Rollup merge of #82292 - SkiFire13:fix-issue-82291, r=m-ou-se 2021-03-07 10:41:10 +09:00
Cargo.toml mv std libs to library/ 2020-07-27 19:51:13 -05:00