Closed aochagavia closed 9 years ago
I think this is more ergonomic to use, and the change doesn't break existing code. It does, however, add a little bit of complexity (maybe not all rustaceans are aware of what the AsRef trait does, yet). What do you think?
AsRef
I think AsRef<Path> is the way to go, especially since it is so heavily used in the standard path API. Thanks!
AsRef<Path>
I think this is more ergonomic to use, and the change doesn't break existing code. It does, however, add a little bit of complexity (maybe not all rustaceans are aware of what the
AsRef
trait does, yet). What do you think?