Skip to content

Fixing integer usage in ownership doc #20966

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 1 commit into from
Jan 12, 2015
Merged

Conversation

Valloric
Copy link
Contributor

int doesn't exist anymore. Usage of its equivalent isize is discouraged since its size is platform-dependent. i32 is used instead in the examples. Also, integer suffixes aren't needed in the examples
anymore so we can just write 5 instead of 5i.

`int` doesn't exist anymore. Usage of its equivalent `isize` is
discouraged since its size is platform-dependent. `i32` is used instead
in the examples. Also, integer suffixes aren't needed in the examples
anymore so we can just write `5` instead of `5i`.
@rust-highfive
Copy link
Contributor

r? @alexcrichton

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

bors added a commit that referenced this pull request Jan 12, 2015
Fixing integer usage in ownership doc

Reviewed-by: steveklabnik
@bors bors merged commit d355da6 into rust-lang:master Jan 12, 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.

5 participants