aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.html.in
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-03-04 14:22:46 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-03-05 17:11:46 -0700
commitfb04ff45cd1b4eca5c56e0295bbbe961557ef820 (patch)
treec41c14cd6b0061b5ffeb91f54fe6d26b1b54f42e /doc/langref.html.in
parent34a23db664e0fe50fb21c892f33b0aec8a7a2f7f (diff)
downloadzig-fb04ff45cd1b4eca5c56e0295bbbe961557ef820.tar.gz
zig-fb04ff45cd1b4eca5c56e0295bbbe961557ef820.zip
langref: small clarification to `@trap`
Diffstat (limited to 'doc/langref.html.in')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index a413c3aab5..7044fe977f 100644
--- a/doc/langref.html.in
+++ b/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#}