From 2da1370a7e8d378ab810c581d5e009b27b47fa62 Mon Sep 17 00:00:00 2001 From: Nils Juto Date: Fri, 27 Feb 2026 13:50:12 +0100 Subject: [PATCH] sync `CallModifier` in langref with what's actually there --- doc/langref/builtin.CallModifier struct.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/langref/builtin.CallModifier struct.zig b/doc/langref/builtin.CallModifier struct.zig index 60fc4f2ac4..2626441a9e 100644 --- a/doc/langref/builtin.CallModifier struct.zig +++ b/doc/langref/builtin.CallModifier struct.zig @@ -2,9 +2,6 @@ pub const CallModifier = enum { /// Equivalent to function call syntax. auto, - /// Equivalent to async keyword used with function call syntax. - async_kw, - /// Prevents tail call optimization. This guarantees that the return /// address will point to the callsite, as opposed to the callsite's /// callsite. If the call is otherwise required to be tail-called @@ -17,7 +14,7 @@ pub const CallModifier = enum { /// Asserts that the function call will not suspend. This allows a /// non-async function to call an async function. - no_async, + no_suspend, /// Guarantees that the call will be generated with tail call optimization. /// If this is not possible, a compile error is emitted instead.