core::str::eq has a comment explaining that it implements string equality in Rust rather than using == in order to save a call into the shape code. It should be just as efficient to write a == b, or at least I assume that's the intent behind the FIXME.
core::str::eqhas a comment explaining that it implements string equality in Rust rather than using==in order to save a call into the shape code. It should be just as efficient to writea == b, or at least I assume that's the intent behind the FIXME.