File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Concurrency and parallelism are incredibly important topics in computer
4
4
science, and are also a hot topic in industry today. Computers are gaining more
5
5
and more cores, yet many programmers aren't prepared to fully utilize them.
6
6
7
- Rust's memory safety features also apply to its concurrency story too . Even
7
+ Rust's memory safety features also apply to its concurrency story. Even
8
8
concurrent Rust programs must be memory safe, having no data races. Rust's type
9
9
system is up to the task, and gives you powerful ways to reason about
10
10
concurrent code at compile time.
@@ -281,8 +281,8 @@ And... still gives us an error.
281
281
```
282
282
283
283
` Arc<T> ` by default has immutable contents. It allows the _ sharing_ of data
284
- between threads, but shared mutable data is unsafe and when threads are
285
- involved can cause data races!
284
+ between threads, but shared mutable data is unsafe— and when threads are
285
+ involved— can cause data races!
286
286
287
287
288
288
Usually when we wish to make something in an immutable position mutable, we use
You can’t perform that action at this time.
0 commit comments