-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Add as_str method for str::Split(Whitespace) #43090
Copy link
Copy link
Open
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Consider the following use case:
Some iterators, like
str::Charsalready have anas_strmethod. The only question is whether it is possible to implementas_strfor the Split API, without making any breaking changes.