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

[r+] Intpocalypse, book edition. #21096

Closed
wants to merge 1 commit into from

Conversation

steveklabnik
Copy link
Member

Fix all usage of int/uint/i/u in the book.

r? @nikomatsakis who called this to my attention.

@nikomatsakis
Copy link
Contributor

with respect to the choice of reviewer: No good deed goes unpunished.

@steveklabnik
Copy link
Member Author

@nikomatsakis ❤️ 😅

// error: mismatched types: expected `core::option::Option<f64>`
// but found `core::option::Option<int>` (expected f64 but found int)
// but found `core::option::Option<i32>` (expected f64 but found i32)
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be
error: mismatched types: expected core::option::Option, found core::option::Option<_> (expected f64, found integral variable)

fn add_one(x: &int) -> int {
=======
Copy link
Contributor

Choose a reason for hiding this comment

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

Conflict markers? 😨

Copy link
Member Author

Choose a reason for hiding this comment

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

ffuuuu

Fix all usage of int/uint/i/u in the book.
@steveklabnik
Copy link
Member Author

This made it in as part of my rolllup

@steveklabnik steveklabnik deleted the intpocalypse branch October 25, 2017 18:28
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