about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHuachao Huang <huachao.huang@gmail.com>2015-05-16 21:44:02 +0800
committerHuachao Huang <huachao.huang@gmail.com>2015-05-16 21:44:02 +0800
commit6e8e6a4b08e4d2d0e92eb50157e865bf412a3ce8 (patch)
tree642d123f746866082635507a6f8551cb0629ec49 /src
parent8fdb3a4ad902162f3f6809e007a79342c2ce19db (diff)
downloadrust-6e8e6a4b08e4d2d0e92eb50157e865bf412a3ce8.tar.gz
rust-6e8e6a4b08e4d2d0e92eb50157e865bf412a3ce8.zip
Update rust-inside-other-languages.md
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/rust-inside-other-languages.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/rust-inside-other-languages.md b/src/doc/trpl/rust-inside-other-languages.md
index a1ae50a0c53..307b7093903 100644
--- a/src/doc/trpl/rust-inside-other-languages.md
+++ b/src/doc/trpl/rust-inside-other-languages.md
@@ -104,7 +104,7 @@ fn process() {
     let handles: Vec<_> = (0..10).map(|_| {
         thread::spawn(|| {
             let mut _x = 0;
-            for _ in (0..5_000_001) {
+            for _ in (0..5_000_000) {
                 _x += 1
             }
         })