langref: make @setRuntimeSafety more correct

This commit is contained in:
Jacob G-W 2021-06-23 14:32:45 -04:00 committed by Veikka Tuominen
parent 350ead9cb2
commit 4adcd560ce

View File

@ -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>