File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
//! flexible enough. Sometimes is required to have multiple references to an object and yet
21
21
//! mutate it.
22
22
//!
23
- //! Shareable mutable containers exist to permit mutability in presence of aliasing in a
23
+ //! Shareable mutable containers exist to permit mutability in presence of aliasing in a
24
24
//! controlled manner. Both `Cell<T>` and `RefCell<T>` allows to do this in a single threaded
25
- //! way. However, neither `Cell<T>` nor `RefCell<T>` are thread safe (they do not implement
25
+ //! way. However, neither `Cell<T>` nor `RefCell<T>` are thread safe (they do not implement
26
26
//! `Sync`), if you need to do Aliasing and Mutation between multiple threads is possible to use
27
27
//! `Mutex`, `RwLock` or `AtomicXXX`.
28
28
//!
You can’t perform that action at this time.
0 commit comments