3 ms·
Does `canonicalize` [1] not work in place of `realpath`? You have a couple of helper functions, like `s` and `str` which you might consider using `to_str` and
by pitaj 8y ago
Does `canonicalize` [1] not work in place of `realpath`?
You have a couple of helper functions, like `s` and `str` which you might consider using `to_str` and `to_string` in their place, as it's more idiomatic to use them directly rather than save characters.
And obviously you can replace `getenv` with `env::var`.
1: https://doc.rust-lang.org/std/path/struct.Path.html#method.canonicalize https://doc.rust-lang.org/std/path/struct.Path.html#method.c...
- shawn 8y agoJust wanted to say thanks for taking the time to give feedback. Swinging through the jungles of a new ecosystem is always fun, and guideposts like this are quite helpful.