We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b2963 commit 744085eCopy full SHA for 744085e
src/doc/reference.md
@@ -3842,8 +3842,10 @@ is to be destroyed.
3842
# Memory model
3843
3844
A Rust program's memory consists of a static set of *items* and a *heap*.
3845
-Immutable portions of the heap may be shared between threads, mutable portions
3846
-may not.
+Immutable portions of the heap may be safely shared between threads, mutable
+portions may not be safely shared, but several mechanisms for effectively-safe
3847
+sharing of mutable values, built on unsafe code but enforcing a safe locking
3848
+discipline, exist in the standard library.
3849
3850
Allocations in the stack consist of *variables*, and allocations in the heap
3851
consist of *boxes*.
0 commit comments