mahkoh/uapi

impl IntoUstr for &PathBuf

Opened this issue · 1 comments

IntoUstr is implemented for PathBuf and &'a Path, but not for &'a PathBuf. This requires users to call pathbuf.as_path(), which is mildly inconvenient. I suggest implementing IntoUstr for &'a PathBuf and have it do as_path internally for convenience.

mahkoh commented

Please create a PR.