langref: small clarification to @trap

This commit is contained in:
Andrew Kelley 2023-03-04 14:22:46 -07:00
parent 34a23db664
commit fb04ff45cd

View File

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