rust-cli / team

CLI working group
https://rust-cli.github.io/book
MIT License
294 stars 34 forks source link

Be explicit about imports #127

Closed jgorset closed 5 years ago

jgorset commented 5 years ago

Hi CLIQuE! Thanks for the book!

I know it's obvious, but I didn't register that I had to add failure and exitfailure to Cargo.toml, so I made it more explicit (like adding structops is earlier in the tutorial). Hopefully this could save someone else some time debugging why .with_context just doesn't exist.

jgorset commented 5 years ago

Sure! I wasn't quite sure where to add the line breaks (I guess I'm stupid), so I just went and stole the bit from structops. :innocent: Hope that's okay.

jgorset commented 5 years ago

Cool, thanks @spacekookie!