Skip to content

Version 0.2.0 - 2024-10-03

Latest
Compare
Choose a tag to compare
@powergee powergee released this 04 Oct 08:46
· 2 commits to main since this release
e9e8574

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.