diff options
Diffstat (limited to '')
-rw-r--r-- | src/doc/book/src/ch16-03-shared-state.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/book/src/ch16-03-shared-state.md b/src/doc/book/src/ch16-03-shared-state.md index 41dccfa13..918d162cf 100644 --- a/src/doc/book/src/ch16-03-shared-state.md +++ b/src/doc/book/src/ch16-03-shared-state.md @@ -219,9 +219,9 @@ thread update the final result with its part. Note that if you are doing simple numerical operations, there are types simpler than `Mutex<T>` types provided by the [`std::sync::atomic` module of the -standard library][atomic]. These types provide safe, concurrent, atomic access -to primitive types. We chose to use `Mutex<T>` with a primitive type for this -example so we could concentrate on how `Mutex<T>` works. +standard library][atomic]<!-- ignore -->. These types provide safe, concurrent, +atomic access to primitive types. We chose to use `Mutex<T>` with a primitive +type for this example so we could concentrate on how `Mutex<T>` works. ### Similarities Between `RefCell<T>`/`Rc<T>` and `Mutex<T>`/`Arc<T>` |