From fb04ff45cd1b4eca5c56e0295bbbe961557ef820 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 4 Mar 2023 14:22:46 -0700 Subject: [PATCH] langref: small clarification to `@trap` --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.

- This function is only valid within function scope. + Outside function scope, this builtin causes a compile error.

{#see_also|@breakpoint#} {#header_close#}