Rollup merge of #22906 - alexandercampbell:readme_typo_fix, r=steveklabnik
Typo fix for the \"30 Minute Intro\". CONTRIBUTING guide says I should do this: r? @steveklabnik
This commit is contained in:
commit
973272e959
@ -510,10 +510,10 @@ numbers[1] is 3
|
|||||||
numbers[0] is 2
|
numbers[0] is 2
|
||||||
```
|
```
|
||||||
|
|
||||||
Each time, we can get a slithtly different output because the threads
|
Each time, we can get a slightly different output because the threads are not
|
||||||
are not quaranteed to run in any set order. If you get the same order
|
guaranteed to run in any set order. If you get the same order every time it is
|
||||||
every time it is because each of these threads are very small and
|
because each of these threads are very small and complete too fast for their
|
||||||
complete too fast for their indeterminate behavior to surface.
|
indeterminate behavior to surface.
|
||||||
|
|
||||||
The important part here is that the Rust compiler was able to use ownership to
|
The important part here is that the Rust compiler was able to use ownership to
|
||||||
give us assurance _at compile time_ that we weren't doing something incorrect
|
give us assurance _at compile time_ that we weren't doing something incorrect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user