2 releases (1 stable)
Uses old Rust 2015
1.0.0 | Sep 4, 2016 |
---|---|
0.1.0 | Sep 1, 2016 |
#33 in #equals
2KB
The req_eq
crate makes it easy to check reference equality.
Examples
use ref_eq::ref_eq;
let x = 1;
let y = 1;
assert!(ref_eq(&x, &x));
assert!(!ref_eq(&x, &y));