Re:Rust Is the Future of JavaScript Infrastructure
by Measter on Friday November 12, 2021 @07:07AM
(#29198507)
The implementation isn't symmetric, it'll work if you compare `b == a`. Apparently[0] it's something to do with avoiding code bloat.
[0] https://github.com/rust-lang/rust/blob/e4c23daeb461ac02413eb...
Do you have some more context? I suspect somehow things are getting coerced to slices and then compared.