Closed Fight-For-Food closed 1 year ago
Main point is to use generics instead of enum and second function. We can't convert Path to &str safely, but we can convert &str to Path via impl AsRef for str
Thanks. That is a nice refactor. Merged.
Main point is to use generics instead of enum and second function. We can't convert Path to &str safely, but we can convert &str to Path via impl AsRef for str