]> git.lizzy.rs Git - rust.git/commit
Update example in "Rust Inside Other Languages"
authorJohannes Oertel <johannes.oertel@uni-due.de>
Mon, 15 Jun 2015 15:03:42 +0000 (17:03 +0200)
committerJohannes Oertel <johannes.oertel@uni-due.de>
Mon, 15 Jun 2015 17:12:34 +0000 (19:12 +0200)
commit3e7ab1b5cbda47d06627482616cb009e039a4815
tree9cd59b5c6ece577572529b6a8f036cdc50867ecf
parentdeff2f50a97342c8b2f92a124ded2d2ead7b2996
Update example in "Rust Inside Other Languages"

Use result of the computation to prevent the compiler from optimising
too much. Change `_x` to `x` and therefore remove the paragraph about
the underscore.

Fixes #25855.
src/doc/trpl/rust-inside-other-languages.md