diff --git a/doc/langref.html.in b/doc/langref.html.in index 3eb30c305..a4000f1b4 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -6445,6 +6445,14 @@ comptime {
{#header_close#} + {#header_open|@as#} +{#syntax#}@as(comptime T: type, expression) T{#endsyntax#}+
+ Performs {#link|Type Coercion#}. This cast is allowed when the conversion is unambiguous and safe, + and is the preferred way to convert between types, whenever possible. +
+ {#header_close#} + {#header_open|@asyncCall#}{#syntax#}@asyncCall(frame_buffer: []align(@alignOf(@Frame(anyAsyncFunction))) u8, result_ptr, function_ptr, args: ...) anyframe->T{#endsyntax#}