-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
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-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Activity
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-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
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.