From d58883cd535f1623c6e0e9b025f1da1fb6672955 Mon Sep 17 00:00:00 2001 From: Dmitry Mostovenko Date: Thu, 30 Jul 2026 01:08:58 +0300 Subject: [PATCH] langref: errdefer capture doc remove --- 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 9be898fc0499bc091f9020bd053ad3f4a2a1e851..9a19c4d95d7fed570085253b090d20ee43d1edf4 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -7499,7 +7499,7 @@ fn readU32Be() u32 {}
{#syntax#}errdefer{#endsyntax#}
- {#syntax#}errdefer{#endsyntax#} will execute an expression when control flow leaves the current block if the function returns an error, the errdefer expression can capture the unwrapped value. + {#syntax#}errdefer{#endsyntax#} will execute an expression when control flow leaves the current block if the function returns an error. -- 2.54.0