From 9468c187bd7d5e85398dd6e5a21a69639ee7f056 Mon Sep 17 00:00:00 2001 From: Jimmi HC Date: Tue, 28 May 2019 11:31:30 +0200 Subject: updated to newest version of zig --- src/args.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/args.zig') diff --git a/src/args.zig b/src/args.zig index 8706ebc..a34c14c 100644 --- a/src/args.zig +++ b/src/args.zig @@ -4,7 +4,7 @@ const std = @import("std"); const debug = std.debug; const heap = std.heap; const mem = std.mem; -const os = std.os; +const process = std.process; /// An example of what methods should be implemented on an arg iterator. pub const ExampleArgIterator = struct { @@ -52,15 +52,15 @@ test "clap.args.SliceIterator" { /// An argument iterator which wraps the ArgIterator in ::std. /// On windows, this iterator allocates. pub const OsIterator = struct { - const Error = os.ArgIterator.NextError; + const Error = process.ArgIterator.NextError; arena: heap.ArenaAllocator, - args: os.ArgIterator, + args: process.ArgIterator, pub fn init(allocator: *mem.Allocator) OsIterator { return OsIterator{ .arena = heap.ArenaAllocator.init(allocator), - .args = os.args(), + .args = process.args(), }; } -- cgit v1.2.3