Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Missing context from Error Handling section of The Book #33422

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant