authorgravatar for nilsjuto@posteo.netNils Juto <nilsjuto@posteo.net> 2026-02-27 13:50:12+01:00
committergravatar for nilsjuto@posteo.netNils Juto <nilsjuto@posteo.net> 2026-02-27 13:50:12+01:00
log2da1370a7e8d378ab810c581d5e009b27b47fa62
tree0ccbb2ce5d22d80268d0ce2f65a6299882aa2843
parentbbc77df3eb91b9c9dc6b334cd344670f64c4a457

sync `CallModifier` in langref with what's actually there


1 files changed, 1 insertions(+), 4 deletions(-)

doc/langref/builtin.CallModifier struct.zig +1-4
......@@ -2,9 +2,6 @@ pub const CallModifier = enum {
22 /// Equivalent to function call syntax.
33 auto,
44
5 /// Equivalent to async keyword used with function call syntax.
6 async_kw,
7
85 /// Prevents tail call optimization. This guarantees that the return
96 /// address will point to the callsite, as opposed to the callsite's
107 /// callsite. If the call is otherwise required to be tail-called
......@@ -17,7 +14,7 @@ pub const CallModifier = enum {
1714
1815 /// Asserts that the function call will not suspend. This allows a
1916 /// non-async function to call an async function.
20 no_async,
17 no_suspend,
2118
2219 /// Guarantees that the call will be generated with tail call optimization.
2320 /// If this is not possible, a compile error is emitted instead.