diff options
Diffstat (limited to 'src/doc/tutorial.md')
| -rw-r--r-- | src/doc/tutorial.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index cdb521b96c4..0a417a5a8bf 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -2095,6 +2095,10 @@ and may not be overridden: Types are sendable unless they contain managed boxes, managed closures, or references. +* `Share` - Types that are *threadsafe* +These are types that are safe to be used across several threads with access to +a `&T` pointer. `MutexArc` is an example of a *sharable* type with internal mutable data. + * `Freeze` - Constant (immutable) types. These are types that do not contain anything intrinsically mutable. Intrinsically mutable values include `Cell` in the standard library. |
