forked from mirrors/gecko-dev
1.76 added a warning when comparing pointers with metadata (e.g. a size or trait vtable), and suggests to use explicit comparisons, either std::ptr::addr_eq to only compare the address or std::ptr::eq to compare address + metadata. The current semantics of Arc::ptr_eq are to compare address + metadata, but the intended semantics are to compare the address. So we do that. Differential Revision: https://phabricator.services.mozilla.com/D197275 |
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| lib.rs | ||