Skip to content

Commit

Permalink
small fix to output of code sample in intro.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfvandekrol committed Oct 31, 2014
1 parent 5e83424 commit 66b8cc8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/doc/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66b8cc8

Please sign in to comment.