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

bound on glob functions should be expanded to AsRef<Path> #146

Open
JamieH01 opened this issue Jun 15, 2024 · 0 comments
Open

bound on glob functions should be expanded to AsRef<Path> #146

JamieH01 opened this issue Jun 15, 2024 · 0 comments

Comments

@JamieH01
Copy link

JamieH01 commented Jun 15, 2024

currently, glob functions only take &str. changing this to impl AsRef<str> would be a trivial and nonbreaking change that makes usage easier and is almost always prefered for functions that take &strs. Additionally, AsRef<Path> would be much more useful when working with the fs module, but is a breaking change and may need more work as most string manipulation functions arent available for Path.

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

No branches or pull requests

1 participant