about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-10 16:08:24 +0200
committerGitHub <noreply@github.com>2019-07-10 16:08:24 +0200
commitd0cec040de22555519e991f08a48ec0b1b62fbc6 (patch)
tree2b71cb20d8bfb4521d83dd3f8f1998349384a28b /src/test/ui/thinlto
parentad21558b8539a8a9bcb21800ad1b7918304d7ef7 (diff)
parentbc322af444006973addb3e65bcd74f033080402b (diff)
downloadrust-d0cec040de22555519e991f08a48ec0b1b62fbc6.tar.gz
rust-d0cec040de22555519e991f08a48ec0b1b62fbc6.zip
Rollup merge of #62493 - Freyskeyd:valid_example_read-write_unaligned, r=rkruppe
#62357: doc(ptr): add example for {read,write}_unaligned

related to #62357

> With #62323 the only example (that had UB and was thus invalid) in std::ptr::read_unaligned and std::ptr::write_unaligned is removed.

> We should add a valid example of using the aforementioned functions.

Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions