From 66b8cc8692a57d50d86f564aa56d2697477f67a3 Mon Sep 17 00:00:00 2001 From: Rolf van de Krol Date: Fri, 31 Oct 2014 20:28:58 +0100 Subject: [PATCH] small fix to output of code sample in intro.md --- src/doc/intro.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/doc/intro.md b/src/doc/intro.md index 14c1f87fc1b..a197115da90 100644 --- a/src/doc/intro.md +++ b/src/doc/intro.md @@ -494,14 +494,14 @@ non-deterministic aspect: $ cargo run Compiling hello_world v0.0.1 (file:///Users/you/src/hello_world) Running `target/hello_world` -numbers[1] is 2 -numbers[0] is 1 -numbers[2] is 3 +numbers[1] is 3 +numbers[0] is 2 +numbers[2] is 4 $ cargo run Running `target/hello_world` -numbers[2] is 3 -numbers[1] is 2 -numbers[0] is 1 +numbers[2] is 4 +numbers[1] is 3 +numbers[0] is 2 ``` Each time, we get a slightly different output, because each thread works in a