diff options
| author | Wink Saville <wink@saville.com> | 2018-09-23 10:08:45 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-23 13:12:57 -0400 |
| commit | a170a64776e703a8549e5ef16cc6009b642b617e (patch) | |
| tree | ab1b4e053f65f5ba258dfead0be3273f9079bfde | |
| parent | af01c6e2bf6a3cbf302deb9166ea3bca50d65175 (diff) | |
| download | zig-a170a64776e703a8549e5ef16cc6009b642b617e.tar.gz zig-a170a64776e703a8549e5ef16cc6009b642b617e.zip | |
Fix typo in argsAlloc comment
Changed freeArgs to argsFree.
| -rw-r--r-- | std/os/index.zig | 2 |
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(); |
