Closed
Description
This page: https://doc.rust-lang.org/std/primitive.reference.html
It's not obvious that reference equality is accomplished via implicit reference-pointer coercion plus ptr::eq
. The ptr::eq
docs mention this, but I would not look there to find reference equality.
The reference primitive page is someplace I would look for info about reference equality. Update this page to discuss reference equality, and link to ptr::eq
.