about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorBrent Kerby <blkerby@gmail.com>2019-05-19 11:53:35 -0600
committerBrent Kerby <blkerby@gmail.com>2019-05-23 19:36:06 -0600
commitd3c73ddec9f657b7856e6328ed07d7ec0f6e4ff5 (patch)
treea491f8d2c717798d5775bcca5dd8d84e93a4932e /src/libcore
parent8869ee03d7f258e1b76a11c6fbb01b5708a9f504 (diff)
downloadrust-d3c73ddec9f657b7856e6328ed07d7ec0f6e4ff5.tar.gz
rust-d3c73ddec9f657b7856e6328ed07d7ec0f6e4ff5.zip
typo
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs
index 9672cf4ffed..80341409037 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -11,7 +11,7 @@
 //! mutate it.
 //!
 //! Shareable mutable containers exist to permit mutability in a controlled manner, even in the
-//! presence of aliasing. Both `Cell<T>` and `RefCell<T>` allows to do this in a single threaded
+//! presence of aliasing. Both `Cell<T>` and `RefCell<T>` allow doing this in a single-threaded
 //! way. However, neither `Cell<T>` nor `RefCell<T>` are thread safe (they do not implement
 //! `Sync`). If you need to do aliasing and mutation between multiple threads it is possible to
 //! use [`Mutex`](../../std/sync/struct.Mutex.html),