Remove const on argsAlloc

This commit is contained in:
Jonathan Marler 2019-06-12 21:09:52 -06:00 committed by Andrew Kelley
parent 82ab006e58
commit 9e8db5b750

View File

@ -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;