Commit 4df1a9b251

Andrew Kelley <superjoe30@gmail.com>
2017-02-01 09:28:40
document setDebugSafety builtin function
1 parent d13cec6
Changed files (1)
doc/langref.md
@@ -650,6 +650,10 @@ This function returns an integer type with the given signness and bit count.
 
 Makes the target function a test function.
 
+### @setDebugSafety(scope, safety_on: bool)
+
+Sets a whether we want debug safety checks on for a given scope.
+
 ### @isInteger(comptime T: type) -> bool
 
 Returns whether a given type is an integer.