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

Remove .ok().expect() #29613

Merged
merged 1 commit into from
Nov 5, 2015
Merged

Remove .ok().expect() #29613

merged 1 commit into from
Nov 5, 2015

Conversation

steveklabnik
Copy link
Member

in favor of just expect()

Fixes #29506

in favor of just expect()

Fixes rust-lang#29506
@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

we’re going to annotate its type. `u32` is an unsigned, thirty-two bit
integer. Rust has [a number of built-in number types][number], but we’ve
chosen `u32`. It’s a good default choice for a small positive number.
Here, `guess` refers to the old `guess`, the one that was a `String` with our
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just removing the first sentence, and then reformatting

@alexcrichton
Copy link
Member

@bors: r+ 6d9502d

@steveklabnik
Copy link
Member Author

@bors: rollup

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Nov 5, 2015
bors added a commit that referenced this pull request Nov 5, 2015
@bors bors merged commit 6d9502d into rust-lang:master Nov 5, 2015
@steveklabnik steveklabnik deleted the 29506 branch June 19, 2016 20:31
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.

4 participants