Skip to content

Conversation

PatrickNorton
Copy link
Contributor

AsciiStr::split currently only accepts an AsciiChar as an argument. This PR makes it so split now accepts any Pattern, and also adds impl Pattern for AsciiChar so as to not break existing code.

@tomprogrammer tomprogrammer added the nightly Requires nightly label May 31, 2022
@tomprogrammer
Copy link
Owner

The APIs std::str::pattern::{Pattern, CharSearcher} are nightly only. Should we introduce a nightly feature for enabling these. Are there better ways of conditionally building code for nightly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nightly Requires nightly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants