Closed
Description
It's unsightly to have to keep writing == ~"foo"
when comparing strings. As far as I can tell, the problem is just the lack of backtracking in method lookup, because there is a viable implementation of Eq here; it involves borrowing of the LHS, however, so the ~str
implementation will come first.