Skip to content

Remove some instances of ok().expect() from the docs #29507

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

Merged
merged 2 commits into from
Nov 2, 2015

Conversation

fhartwig
Copy link
Contributor

@fhartwig fhartwig commented Nov 1, 2015

This fixes part of #29506
These instances of ok().expect() have no benefit over using Result's expect directly.

@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@fhartwig
Copy link
Contributor Author

fhartwig commented Nov 1, 2015

r? @steveklabnik

@rust-highfive rust-highfive assigned steveklabnik and unassigned aturon Nov 1, 2015
@Manishearth
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 1, 2015

📌 Commit 4168e02 has been approved by Manishearth

@bors
Copy link
Collaborator

bors commented Nov 1, 2015

⌛ Testing commit 4168e02 with merge 9c2489b...

bors added a commit that referenced this pull request Nov 1, 2015
This fixes part of #29506
These instances of `ok().expect()` have no benefit over using `Result`'s `expect` directly.
@bors bors merged commit 4168e02 into rust-lang:master Nov 2, 2015
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.

6 participants