Files
rust/library
Pietro Albini be1b304ea4 Rollup merge of #75943 - elichai:2020-align_offset-docs, r=RalfJung
Fix potential UB in align_offset doc examples

Currently it takes a pointer only to the first element in the array, this changes the code to take a pointer to the whole array.
miri can't catch this right now because it later calls `x.len()` which re-tags the pointer for the whole array.

https://github.com/rust-lang/miri/issues/1526#issuecomment-680897144
2020-08-28 10:23:59 +02:00
..
2020-07-27 19:51:13 -05:00
2020-08-03 15:52:30 +08:00
2020-07-27 19:51:13 -05:00
2020-08-23 10:02:42 +00:00