Skip to content

Commit ce3ad26

Browse files
committed
added link to sync containers
1 parent 43de01f commit ce3ad26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/cell.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
//! controlled manner. Both `Cell<T>` and `RefCell<T>` allows to do this in a single threaded
2525
//! way. However, neither `Cell<T>` nor `RefCell<T>` are thread safe (they do not implement
2626
//! `Sync`), if you need to do Aliasing and Mutation between multiple threads is possible to use
27-
//! `Mutex`, `RwLock` or `AtomicXXX`.
27+
//! [`Mutex`](../sync/struct.Mutex.html), [`RwLock`](../sync/struct.RwLock.html) or
28+
//! [`atomic`](../sync/atomic/index.html) types.
2829
//!
2930
//! Values of the `Cell<T>` and `RefCell<T>` types may be mutated through shared references (i.e.
3031
//! the common `&T` type), whereas most Rust types can only be mutated through unique (`&mut T`)

0 commit comments

Comments
 (0)