mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
process: add args definition comment
To improve understandability of its purpose.
This commit is contained in:
parent
ce3fe72d9a
commit
284c7b22a8
@ -818,7 +818,8 @@ pub const ArgIterator = struct {
|
||||
}
|
||||
};
|
||||
|
||||
/// Use argsWithAllocator() for cross-platform code
|
||||
/// Holds the command-line arguments, with the program name as the first entry.
|
||||
/// Use argsWithAllocator() for cross-platform code.
|
||||
pub fn args() ArgIterator {
|
||||
return ArgIterator.init();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user