summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2020-11-10 22:46:45 -0500
committerJordan Wiens <jordan@psifertex.com>2020-11-10 22:47:23 -0500
commitb2f8c2f482fdb7867a100e693e63d096e39094ad (patch)
treea5b5069ebd5c063869f49af043d8d80a9501fc54 /docs
parentc1da063a1b6e627212414fe7896fd964b0e3532a (diff)
documentation update, example for settings and description of using custom convention in type docs
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/type.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/guide/type.md b/docs/guide/type.md
index b4df1ef4..d704cbd2 100644
--- a/docs/guide/type.md
+++ b/docs/guide/type.md
@@ -182,6 +182,12 @@ __convention
__noreturn
```
+To use the `__convention` keyword, pass in the convention name as a parameter argument:
+
+```
+__convention("customconvention")
+```
+
#### Applying Structures and Types