Now Rc::eq and Snapshot::eq compare by objects they are pointing to. To compare by pointer values, use the ptr_eq method instead.
This patch is a breaking-change because it changes the behavior of a pre-existing API. Therefore, we need to increment the non-zero left-most version number (i.e., 0.1.0 -> 0.2.0).
Debug
andPointer
.Rc
andSnapshot
), implementedPartialOrd
,Ord
,PartialEq
,Eq
, andHash
.From
by referring to the type relation graph.Rc::eq
andSnapshot::eq
compare by objects they are pointing to. To compare by pointer values, use theptr_eq
method instead.0.1.0
->0.2.0
).