Closed kornelski closed 3 years ago
impl AsRef
AsRef<str>
&Path
It was Path before, the reason I moved it to str is that can also be a URL.
str
OK, I've changed it to OsStr which is compatible with both Path and str.
OsStr
Path
That works!
Thanks! :panda_face:
impl AsRef
doesn't allow turbofish.AsRef<str>
doesn't allow&Path
.