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

Make Result::{unwrap, unwrap_err} require Show #13479

Merged
merged 1 commit into from Apr 14, 2014

Conversation

sfackler
Copy link
Member

foo.ok().unwrap() and foo.err().unwrap() are the fallbacks for types
that aren't Show.

Closes #13379

`foo.ok().unwrap()` and `foo.err().unwrap()` are the fallbacks for types
that aren't `Show`.

Closes rust-lang#13379
bors added a commit that referenced this pull request Apr 14, 2014
`foo.ok().unwrap()` and `foo.err().unwrap()` are the fallbacks for types
that aren't `Show`.

Closes #13379
@bors bors closed this Apr 14, 2014
@bors bors merged commit eb0473d into rust-lang:master Apr 14, 2014
@sfackler sfackler deleted the result-unwrap branch May 15, 2014 05:02
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 this pull request may close these issues.

The failure from Unwrapping an "Err" does not tell you what error it was
2 participants