Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed parse_{provided,cli} String -> AsRef<str> #7

Merged
merged 1 commit into from
Nov 26, 2023
Merged

Conversation

Kyllingene
Copy link
Owner

Changed relevant functions on ArgumentReader to take &[AsRef<str>] instead of &[String], to improve versatility.

This means certain code is now invalid (see modified tests) due to type ambiguity, but adding as &[String] fixes the issue. Since 7.0 is not yet released, this breaking change is acceptable.

@Kyllingene Kyllingene merged commit 8fd096b into master Nov 26, 2023
1 check passed
@Kyllingene Kyllingene deleted the asref branch November 26, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant