| ... | @@ -2022,7 +2022,7 @@ pub fn args() ArgIterator { | ... | @@ -2022,7 +2022,7 @@ pub fn args() ArgIterator { |
| 2022 | return ArgIterator.init(); | 2022 | return ArgIterator.init(); |
| 2023 | } | 2023 | } |
| 2024 | | 2024 | |
| 2025 | /// Caller must call freeArgs on result. | 2025 | /// Caller must call argsFree on result. |
| 2026 | pub fn argsAlloc(allocator: *mem.Allocator) ![]const []u8 { | 2026 | pub fn argsAlloc(allocator: *mem.Allocator) ![]const []u8 { |
| 2027 | // TODO refactor to only make 1 allocation. | 2027 | // TODO refactor to only make 1 allocation. |
| 2028 | var it = args(); | 2028 | var it = args(); |