diff options
| -rw-r--r-- | library/core/src/cell.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs index d378b0b3b97..63bce5d0ccd 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -12,7 +12,7 @@ //! //! Shareable mutable containers exist to permit mutability in a controlled manner, even in the //! presence of aliasing. [`Cell<T>`], [`RefCell<T>`], and [`OnceCell<T>`] allow doing this in -//! a single-threaded way - they do not implement [`Sync`]. (If you need to do aliasing and +//! a single-threaded way—they do not implement [`Sync`]. (If you need to do aliasing and //! mutation among multiple threads, [`Mutex<T>`], [`RwLock<T>`], [`OnceLock<T>`] or [`atomic`] //! types are the correct data structures to do so). //! |
