-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-collectionsArea: `std::collections`Area: `std::collections`A-type-systemArea: Type systemArea: Type systemP-mediumMedium priorityMedium priority
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.
Metadata
Metadata
Assignees
Labels
A-collectionsArea: `std::collections`Area: `std::collections`A-type-systemArea: Type systemArea: Type systemP-mediumMedium priorityMedium priority