macro_rules! forward_ref_partial_eq {
    ($t:ty, $u:ty) => { ... };
}
Expand description

Given an implementation of T == U, implements:

  • &T == U
  • T == &U

We don’t need to add &T == &U here because this is implemented automatically.