Skip to content

Missing context from Error Handling section of The Book #33422

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
jbcden opened this issue May 5, 2016 · 0 comments · Fixed by #33480
Closed

Missing context from Error Handling section of The Book #33422

jbcden opened this issue May 5, 2016 · 0 comments · Fixed by #33480

Comments

@jbcden
Copy link

jbcden commented May 5, 2016

In the Adding Functionality section of the Error Handling guide, a line with args.flag_quiet is referenced. This is not a standard method and after doing some googling I found this post. It would seem a few sections regarding the creation of a custom Args struct were removed or left out by mistake. Either way, I'm not sure if this those sections should be re-added or if this section needs to be reworked without that struct.

birkenfeld added a commit to birkenfeld/rust that referenced this issue May 7, 2016
A few oversights happened while porting the example from docopt to
getopts.  I retraced all the steps, fixing code and description as
necessary.

Fixes: rust-lang#33422
Manishearth added a commit to Manishearth/rust that referenced this issue May 8, 2016
book: fixup code in error handling tutorial

A few oversights happened while porting the example from docopt to getopts.  I retraced all the steps, fixing code and description as necessary.

Fixes: rust-lang#33422
Manishearth added a commit to Manishearth/rust that referenced this issue May 9, 2016
book: fixup code in error handling tutorial

A few oversights happened while porting the example from docopt to getopts.  I retraced all the steps, fixing code and description as necessary.

Fixes: rust-lang#33422
Manishearth added a commit to Manishearth/rust that referenced this issue May 9, 2016
book: fixup code in error handling tutorial

A few oversights happened while porting the example from docopt to getopts.  I retraced all the steps, fixing code and description as necessary.

Fixes: rust-lang#33422
Manishearth added a commit to Manishearth/rust that referenced this issue May 9, 2016
book: fixup code in error handling tutorial

A few oversights happened while porting the example from docopt to getopts.  I retraced all the steps, fixing code and description as necessary.

Fixes: rust-lang#33422
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant