langref: make @setRuntimeSafety more correct

This commit is contained in:
Jacob G-W 2021-06-23 14:32:45 -04:00 committed by Andrew Kelley
parent d59fc1ac04
commit b7fe0db9d2

View File

@ -8151,7 +8151,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>