aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob G-W <jacoblevgw@gmail.com>2021-06-23 14:32:45 -0400
committerVeikka Tuominen <git@vexu.eu>2021-06-25 08:57:03 +0300
commit4adcd560ce4c742791cf1c1d34cdb16f805ffcfd (patch)
tree4e3416119e67d188d5cd4ff93239d408469d0a4a
parent350ead9cb2ce87485569fbf630f2906864f35a6b (diff)
downloadzig-4adcd560ce4c742791cf1c1d34cdb16f805ffcfd.tar.gz
zig-4adcd560ce4c742791cf1c1d34cdb16f805ffcfd.zip
langref: make @setRuntimeSafety more correct
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 50c589be3b..b447a49ad4 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -8179,7 +8179,7 @@ pub const FloatMode = enum {
{#header_close#}
{#header_open|@setRuntimeSafety#}
- <pre>{#syntax#}@setRuntimeSafety(safety_on: bool){#endsyntax#}</pre>
+ <pre>{#syntax#}@setRuntimeSafety(safety_on: bool) void{#endsyntax#}</pre>
<p>
Sets whether runtime safety checks are enabled for the scope that contains the function call.
</p>