aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorWink Saville <wink@saville.com>2018-09-23 10:08:45 -0700
committerAndrew Kelley <superjoe30@gmail.com>2018-09-23 13:12:57 -0400
commita170a64776e703a8549e5ef16cc6009b642b617e (patch)
treeab1b4e053f65f5ba258dfead0be3273f9079bfde /std
parentaf01c6e2bf6a3cbf302deb9166ea3bca50d65175 (diff)
downloadzig-a170a64776e703a8549e5ef16cc6009b642b617e.tar.gz
zig-a170a64776e703a8549e5ef16cc6009b642b617e.zip
Fix typo in argsAlloc comment
Changed freeArgs to argsFree.
Diffstat (limited to 'std')
-rw-r--r--std/os/index.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/os/index.zig b/std/os/index.zig
index d4110bd759..d86ab119df 100644
--- 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();