News for hackers. Stuff that matters.
Re:Why Rust closures are somewhat hard by pitaj on Monday September 10, 2018 @05:39PM (#17955445)
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.c...

Re:Why Rust closures are somewhat hard by shawn on Monday September 10, 2018 @06:58PM (#17955864)
Just 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.