File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1531,9 +1531,8 @@ mod prim_usize {}
15311531/// `&mut T` references can be freely coerced into `&T` references with the same referent type, and
15321532/// references with longer lifetimes can be freely coerced into references with shorter ones.
15331533///
1534- /// Reference equality by address, instead of comparing the values pointed to, is accomplished via
1535- /// implicit reference-pointer coercion and raw pointer equality via [`ptr::eq`], while
1536- /// [`PartialEq`] compares values.
1534+ /// [`PartialEq`] will compare referenced values. It is possible to compare the reference address
1535+ /// using reference-pointer coercion and raw pointer equality via [`ptr::eq`].
15371536///
15381537/// ```
15391538/// use std::ptr;
You can’t perform that action at this time.
0 commit comments