File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -510,10 +510,10 @@ numbers[1] is 3
510
510
numbers[0] is 2
511
511
` ` `
512
512
513
- Each time, we can get a slithtly different output because the threads
514
- are not quaranteed to run in any set order. If you get the same order
515
- every time it is because each of these threads are very small and
516
- complete too fast for their indeterminate behavior to surface.
513
+ Each time, we can get a slightly different output because the threads are not
514
+ guaranteed to run in any set order. If you get the same order every time it is
515
+ because each of these threads are very small and complete too fast for their
516
+ indeterminate behavior to surface.
517
517
518
518
The important part here is that the Rust compiler was able to use ownership to
519
519
give us assurance _at compile time_ that we weren' t doing something incorrect
You can’t perform that action at this time.
0 commit comments