From d084f7031c5a6b862fecd4d43466eef66c1e5748 Mon Sep 17 00:00:00 2001 From: Alexander Campbell Date: Sat, 28 Feb 2015 11:32:13 -0600 Subject: [PATCH 1/2] Change slithtly -> slightly in README.md --- src/doc/intro.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/doc/intro.md b/src/doc/intro.md index 07a90959deb69..1e1aa1e22b4d4 100644 --- a/src/doc/intro.md +++ b/src/doc/intro.md @@ -510,10 +510,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 +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. 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 From fdc45e361c0846770e7057c5c54b0ee1c82f8f5e Mon Sep 17 00:00:00 2001 From: Alexander Campbell Date: Sat, 28 Feb 2015 11:33:48 -0600 Subject: [PATCH 2/2] Change quaranteed -> guaranteed in README.md --- src/doc/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/intro.md b/src/doc/intro.md index 1e1aa1e22b4d4..d145eaada2b0e 100644 --- a/src/doc/intro.md +++ b/src/doc/intro.md @@ -511,7 +511,7 @@ numbers[0] is 2 ``` Each time, we can get a slightly different output because the threads are not -quaranteed to run in any set order. If you get the same order every time it is +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.