You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Features
Added implementation of standard traits for pointers. (#3)
Bug Fixes
PartialEq for Rc and Snapshot now compares the objects they point to, rather than the pointers themselves. (#3) (See compatibility note below.)
Compatibility Notes
Rc::eq and Snapshot::eq now compare the objects they point to instead of their pointer values. This change aligns with the behavior of PartialEq for other smart pointer types (e.g., std::rc::Rc), where equality is based on the objects being pointed to. The original pointer-based comparison is still available via the ptr_eq method.
Migration: To compare pointer values, use the ptr_eq method.