authorgravatar for fncontroloption@noreply.codeberg.orgFnControlOption <fncontroloption@noreply.codeberg.org> 2023-12-29 07:52:11-08:00
committergravatar for fncontroloption@noreply.codeberg.orgFnControlOption <fncontroloption@noreply.codeberg.org> 2023-12-29 07:52:11-08:00
log04dad64dbe487e5f22a85c7a0fe3f8c9be8e8b93
treedb9fc712775b6c02febd532706e3b413400381fe
parent27d4bf753467894836e960bced73740c95e61db8

std.zig.Ast: Fix docs for FnProto and FnProtoOne


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

lib/std/zig/Ast.zig+2-2
......@@ -3269,13 +3269,13 @@ pub const Node = struct {
32693269 /// main_token is the `fn` keyword.
32703270 /// extern function declarations use this tag.
32713271 fn_proto_multi,
3272 /// `fn (a: b) rhs addrspace(e) linksection(f) callconv(g)`. `FnProtoOne[lhs]`.
3272 /// `fn (a: b) addrspace(e) linksection(f) callconv(g) rhs`. `FnProtoOne[lhs]`.
32733273 /// zero or one parameters.
32743274 /// anytype and ... parameters are omitted from the AST tree.
32753275 /// main_token is the `fn` keyword.
32763276 /// extern function declarations use this tag.
32773277 fn_proto_one,
3278 /// `fn (a: b, c: d) rhs addrspace(e) linksection(f) callconv(g)`. `FnProto[lhs]`.
3278 /// `fn (a: b, c: d) addrspace(e) linksection(f) callconv(g) rhs`. `FnProto[lhs]`.
32793279 /// anytype and ... parameters are omitted from the AST tree.
32803280 /// main_token is the `fn` keyword.
32813281 /// extern function declarations use this tag.