3 ms·
For it to be a good example, I'd make some changes. As one example, there are a few places where stderr is thrown away in an error and substituted for a very g
by tyingq 3y ago
For it to be a good example, I'd make some changes. As one example, there are a few places where stderr is thrown away in an error and substituted for a very generic failure message. And some where the failure is assumed to be something that it may not be.
Though, I understand the author wasn't claiming to deliver an example of how to do "scripting" in Rust.