Skip to content

Accept impl AsRef<ffi::OsStr> instead of &str in methods that expect a path#2501

Open
nvizzari wants to merge 1 commit into
cloudflare:masterfrom
nvizzari:patch-1
Open

Accept impl AsRef<ffi::OsStr> instead of &str in methods that expect a path#2501
nvizzari wants to merge 1 commit into
cloudflare:masterfrom
nvizzari:patch-1

Conversation

@nvizzari

@nvizzari nvizzari commented Jun 1, 2026

Copy link
Copy Markdown

The goal is to let clients call these functions with a &Path (among others) instead of forcing a conversion to &str where they would have to deal with the error.

@nvizzari nvizzari requested a review from a team as a code owner June 1, 2026 15:48
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