summaryrefslogtreecommitdiff
path: root/docs/language/ownership.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-12 15:22:19 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-12 15:22:19 -0400
commit89418faafd87cbbf0b36bc8bf916904a170073f6 (patch)
treeea5b619a973ad83715de82a432565fba988a535f /docs/language/ownership.md
parent20a19f433956f063d8048f032aaf5dcce1d61e7c (diff)
use gnu23
Diffstat (limited to 'docs/language/ownership.md')
-rw-r--r--docs/language/ownership.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/language/ownership.md b/docs/language/ownership.md
index 9f29d8d..490363f 100644
--- a/docs/language/ownership.md
+++ b/docs/language/ownership.md
@@ -10,8 +10,6 @@
## Assignment is not allowed for movable types that are not shared
-## Shared Types
-
## To And From Functions
# Passing
@@ -34,8 +32,14 @@ float_array : Array[F64] $ ()
`log float_array // Array[F64] $ (1.0; 2.0; 3.0)
```
+# Shared Types
+
# Locking
-Prevent access to a container it's contents are modified
+Prevent modification until a mutation occurs
## References
+
+# Mutating
+
+Unlock a lock or shared target and prevents modification to everything except the lock target