diff --git a/src/concurrency/shared_state.md b/src/concurrency/shared_state.md index bb59b8fe..73b5d101 100644 --- a/src/concurrency/shared_state.md +++ b/src/concurrency/shared_state.md @@ -3,9 +3,9 @@ Rust uses the type system to enforce synchronization of shared data. This is primarily done via two types: -* [`Arc`][1], atomic reference counted `T`: handled sharing between threads and - takes care to deallocate `T` when the last thread exits, -* [`Mutex`][2]: ensures mutual exclusion access to the `T` value. +* [`Arc`][1], atomic reference counted `T`: handles sharing between threads and + takes care to deallocate `T` when the last reference is dropped, +* [`Mutex`][2]: ensures mutually exclusive access to the `T` value. [1]: https://doc.rust-lang.org/std/sync/struct.Arc.html [2]: https://doc.rust-lang.org/std/sync/struct.Mutex.html