commit 9e8db5b7505a6c2e601c8a94b9d8a4282b5df184 (tree)
parent 82ab006e58230b413277fbffe5c304b83a3767e2
Author: Jonathan Marler <johnnymarler@gmail.com>
Date: Wed, 12 Jun 2019 21:09:52 -0600
Remove const on argsAlloc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/std/process.zig b/std/process.zig
@@ -388,7 +388,7 @@ pub fn args() ArgIterator {
}
/// Caller must call argsFree on result.
-pub fn argsAlloc(allocator: *mem.Allocator) ![]const []u8 {
+pub fn argsAlloc(allocator: *mem.Allocator) ![][]u8 {
if (builtin.os == .wasi) {
var count: usize = undefined;
var buf_size: usize = undefined;