]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/intro.md
Rollup merge of #22947 - ic:master, r=steveklabnik
[rust.git] / src / doc / intro.md
index ac5bf1bd35fe29a0cc3f6a06c5ea13feb0fa303b..bb86de64e7af3bd3ef098c16d0f1d43bc748edcd 100644 (file)
@@ -513,10 +513,10 @@ numbers[1] is 3
 numbers[0] is 2
 ```
 
-Each time, we can get a slithtly different output because the threads
-are not quaranteed to run in any set order. If you get the same order
-every time it is because each of these threads are very small and
-complete too fast for their indeterminate behavior to surface.
+Each time, we can get a slightly different output because the threads are not
+guaranteed to run in any set order. If you get the same order every time it is
+because each of these threads are very small and complete too fast for their
+indeterminate behavior to surface.
 
 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