Fixing more spelling

This commit is contained in:
Carol (Nichols || Goulding)
2016-12-28 19:52:31 -05:00
parent f85c7af6cd
commit a62a15131c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ but you need to be able to mutate the underlying data.
Same thing as RefCell but for types that are Copy. No borrow checking rules here Same thing as RefCell but for types that are Copy. No borrow checking rules here
anyway. So just reason #2 above. anyway. So just reason #2 above.
## Is this really safe? Yes srsly ## Is this really safe? Yes!
RefCell is still doing the checks, just at runtime RefCell is still doing the checks, just at runtime
Cell is safe bc Copy types don't need the ownership rules anyway Cell is safe bc Copy types don't need the ownership rules anyway
+2 -2
View File
@@ -7,7 +7,7 @@ Rust's focus on aliasability ends up solving these problems.
This is a library abstraction. This is a library abstraction.
Shared mutable state is a problem. Both useful. Functional languagess get rid of Shared mutable state is a problem. Both useful. Functional languages get rid of
mutability. mutability.
Ownership rules (that tame the "shared" aspect) enable fearless concurrency: the Ownership rules (that tame the "shared" aspect) enable fearless concurrency: the
@@ -32,7 +32,7 @@ If you have a different threaded mechanism, you need a runtime, rust is trying
to not have a heavy runtime. to not have a heavy runtime.
These are the reasons Rust's concurrency model is this way as opposed to other These are the reasons Rust's concurrency model is this way as opposed to other
lang's ways, which are optimizing for different things. language's ways, which are optimizing for different things.
## Let's get a thread: `thread::spawn` ## Let's get a thread: `thread::spawn`