From 547a9f23f7960de0601b3f325768d58dae3ef5ec Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Wed, 14 Nov 2018 14:55:05 +0100 Subject: Zig fmt --- src/streaming.zig | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/streaming.zig') diff --git a/src/streaming.zig b/src/streaming.zig index 99eaecb..f33fd96 100644 --- a/src/streaming.zig +++ b/src/streaming.zig @@ -30,7 +30,6 @@ pub fn Arg(comptime Id: type) type { /// ::StreamingClap.next to parse all the arguments of your program. pub fn StreamingClap(comptime Id: type, comptime ArgError: type) type { return struct { - const State = union(enum) { Normal, Chaining: Chaining, @@ -189,7 +188,6 @@ pub fn StreamingClap(comptime Id: type, comptime ArgError: type) type { }; } - fn testNoErr(params: []const clap.Param(u8), args_strings: []const []const u8, results: []const Arg(u8)) void { var arg_iter = args.SliceIterator.init(args_strings); var c = StreamingClap(u8, args.SliceIterator.Error).init(params, &arg_iter.iter); -- cgit v1.2.3