]> git.lizzy.rs Git - rust.git/commit
Fixing integer usage in ownership doc
authorStrahinja Val Markovic <val@markovic.io>
Sun, 11 Jan 2015 20:42:03 +0000 (12:42 -0800)
committerStrahinja Val Markovic <val@markovic.io>
Sun, 11 Jan 2015 20:42:03 +0000 (12:42 -0800)
commitd355da6e6f30ab37bead7da5fc895de5b7047508
tree8e1bc771c2140c65648f774850fe2939892cb228
parent2e4cef4e78253beb4c08ed35416fad076d978344
Fixing integer usage in ownership doc

`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`.
src/doc/trpl/ownership.md