Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Clarify CustomConst::equal_consts (#1396)
This is just explaining existing behaviour, but I think it's important to explain that we are not expecting the equivalent of `Eq` on a structure that could be just an `f64`.... This does constrain impls to be symmetric and transitive, but all current ones are, and I couldn't think of any... (indeed, "either Eq or always return false" would describe all current impls, and this is still significantly more permissive than that.)
- Loading branch information