Commit a170a64776

Wink Saville <wink@saville.com>
2018-09-23 19:08:45
Fix typo in argsAlloc comment
Changed freeArgs to argsFree.
1 parent af01c6e
Changed files (1)
std
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();