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

feat: impl AsRef<OsStr> #49

Closed

Conversation

saiintbrisson
Copy link

There are cases in std where functions expect a T: AsRef<OsStr> when working with OS-related operations like getting env vars through std::env::var.

This may be too niche to be worth adding, and is not necessarily related to the original purpose of "programming language tokens", so feel free to close!

There are a few cases in `std` where functions expect a `T: AsRef<OsStr>`,
mainly when working with OS related operations like passings args to a
`Command`.
@Veykril
Copy link
Member

Veykril commented Sep 3, 2024

Will be done by #82, I think it makes sense to roughly implement what str implements in terms of std traits

@Veykril Veykril closed this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants