commit a170a64776e703a8549e5ef16cc6009b642b617e (tree)
parent af01c6e2bf6a3cbf302deb9166ea3bca50d65175
Author: Wink Saville <wink@saville.com>
Date: Sun, 23 Sep 2018 10:08:45 -0700
Fix typo in argsAlloc comment
Changed freeArgs to argsFree.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/std/os/index.zig b/std/os/index.zig
@@ -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();