Closed
Description
With DST, there is no longer any reason that str
needs to be a primitive type; it can instead be defined in the library as a newtype wrapper around [u8]
. (It will, of course, still need to be a lang item for string literals to work).
The main visible consequence of this change would be the removal of several prelude traits in favor of inherent methods -- so it has some impact on library stabilization.
It may also be that the name could/should be revisited if it is no longer primitive.