Commit fb04ff45cd

Andrew Kelley <andrew@ziglang.org>
2023-03-04 22:22:46
langref: small clarification to `@trap`
1 parent 34a23db
Changed files (1)
doc/langref.html.in
@@ -9403,7 +9403,7 @@ fn List(comptime T: type) type {
       Unlike for {#syntax#}@breakpoint(){#endsyntax#}, execution does not continue after this point.
       </p>
       <p>
-      This function is only valid within function scope.
+      Outside function scope, this builtin causes a compile error.
       </p>
       {#see_also|@breakpoint#}
       {#header_close#}