summaryrefslogtreecommitdiff
path: root/docs/type_system/fn.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/fn.md')
-rw-r--r--docs/type_system/fn.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/type_system/fn.md b/docs/type_system/fn.md
index b004560..66a350e 100644
--- a/docs/type_system/fn.md
+++ b/docs/type_system/fn.md
@@ -91,15 +91,15 @@ Asynchronous call
```text
task : `async fn
-value : `wait task
+value : `await task
```
## \`sync
Synchronous call
-If the callee is a process, an inline wait with async is used
+If the callee is a process, an inline await with async is used
```text
-fn `sync args // can be turned into `wait fn `async args
+fn `sync args // can be turned into `await fn `async args
```