Skip to content

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
lnicola pushed a commit to lnicola/rust that referenced this pull request Nov 4, 2025
lnicola pushed a commit to lnicola/rust that referenced this pull request Nov 11, 2025
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