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.
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.
Hi CLIQuE! Thanks for the book!
I know it's obvious, but I didn't register that I had to add
failure
andexitfailure
toCargo.toml
, so I made it more explicit (like addingstructops
is earlier in the tutorial). Hopefully this could save someone else some time debugging why.with_context
just doesn't exist.