Fix typo in argsAlloc comment
Changed freeArgs to argsFree.
This commit is contained in:
parent
af01c6e2bf
commit
a170a64776
@ -2022,7 +2022,7 @@ pub fn args() ArgIterator {
|
||||
return ArgIterator.init();
|
||||
}
|
||||
|
||||
/// Caller must call freeArgs on result.
|
||||
/// Caller must call argsFree on result.
|
||||
pub fn argsAlloc(allocator: *mem.Allocator) ![]const []u8 {
|
||||
// TODO refactor to only make 1 allocation.
|
||||
var it = args();
|
||||
|
Loading…
x
Reference in New Issue
Block a user