process: add args definition comment

To improve understandability of its purpose.
This commit is contained in:
Nicolas Sterchele 2023-04-06 22:57:25 +02:00 committed by Veikka Tuominen
parent ce3fe72d9a
commit 284c7b22a8

View File

@ -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();
}