mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
langref: make @setRuntimeSafety more correct
This commit is contained in:
parent
d59fc1ac04
commit
b7fe0db9d2
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user