about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-10-12 22:04:00 +0800
committerGitHub <noreply@github.com>2018-10-12 22:04:00 +0800
commit8455468d0d0a253e5c0bbce5410b6976c84dbd02 (patch)
tree00c8ee5ff503fd1806a906d6bc2ce86fc3031d71 /src/test/incremental/thinlto
parent849a0e9c40ef79efec0802334fe10406ea3e7256 (diff)
parent68236e088d8b5694eb4097c1ad8302b92e36fd4a (diff)
downloadrust-8455468d0d0a253e5c0bbce5410b6976c84dbd02.tar.gz
rust-8455468d0d0a253e5c0bbce5410b6976c84dbd02.zip
Rollup merge of #54755 - lucasloisp:document-reference-address-eq, r=QuietMisdreavus
Documents reference equality by address (#54197)

Clarification of the use of `ptr::eq` to test equality of references via address by pointer coercion,  regarding issue #54197 .

The same example as in `ptr::eq` docs is shown here to clarify that
`PartialEq` compares values pointed-to instead of via address (which can be desired in some cases)
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions