zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit fb04ff45cd1b4eca5c56e0295bbbe961557ef820 (tree)
parent 34a23db664e0fe50fb21c892f33b0aec8a7a2f7f
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sat,  4 Mar 2023 14:22:46 -0700

langref: small clarification to `@trap`

Diffstat:
Mdoc/langref.html.in | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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#}