diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2023-03-29 21:25:27 +0200 |
|---|---|---|
| committer | Trevor Gross <tgross@intrepidcs.com> | 2023-03-29 18:04:44 -0400 |
| commit | 9b5122976e9eb0f2f0b8def82fbcd972837880e4 (patch) | |
| tree | 62dc524989d23118ff24000aa279c3b908adb797 | |
| parent | d1b28b75d25d5f4c3d1769822a1b106b95b106f1 (diff) | |
| download | rust-9b5122976e9eb0f2f0b8def82fbcd972837880e4.tar.gz rust-9b5122976e9eb0f2f0b8def82fbcd972837880e4.zip | |
Em dashes are cooler than hyphens.
| -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). //! |
