authorgravatar for nicolas@sterchelen.netNicolas Sterchele <nicolas@sterchelen.net> 2023-04-06 22:57:25+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-04-23 20:26:10+03:00
log284c7b22a85a6a915740be826e66f91a4cbc743e
tree790125a5b7dcb914ed311780db87c0db88ebb87b
parentce3fe72d9a5e380ad3e25018e562abebc5ee24a6

process: add args definition comment

To improve understandability of its purpose.

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

lib/std/process.zig+2-1
......@@ -818,7 +818,8 @@ pub const ArgIterator = struct {
818818 }
819819};
820820
821/// Use argsWithAllocator() for cross-platform code
821/// Holds the command-line arguments, with the program name as the first entry.
822/// Use argsWithAllocator() for cross-platform code.
822823pub fn args() ArgIterator {
823824 return ArgIterator.init();
824825}