summaryrefslogtreecommitdiff
path: root/src/streaming.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/streaming.zig2
1 files changed, 0 insertions, 2 deletions
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 {
30/// ::StreamingClap.next to parse all the arguments of your program. 30/// ::StreamingClap.next to parse all the arguments of your program.
31pub fn StreamingClap(comptime Id: type, comptime ArgError: type) type { 31pub fn StreamingClap(comptime Id: type, comptime ArgError: type) type {
32 return struct { 32 return struct {
33
34 const State = union(enum) { 33 const State = union(enum) {
35 Normal, 34 Normal,
36 Chaining: Chaining, 35 Chaining: Chaining,
@@ -189,7 +188,6 @@ pub fn StreamingClap(comptime Id: type, comptime ArgError: type) type {
189 }; 188 };
190} 189}
191 190
192
193fn testNoErr(params: []const clap.Param(u8), args_strings: []const []const u8, results: []const Arg(u8)) void { 191fn testNoErr(params: []const clap.Param(u8), args_strings: []const []const u8, results: []const Arg(u8)) void {
194 var arg_iter = args.SliceIterator.init(args_strings); 192 var arg_iter = args.SliceIterator.init(args_strings);
195 var c = StreamingClap(u8, args.SliceIterator.Error).init(params, &arg_iter.iter); 193 var c = StreamingClap(u8, args.SliceIterator.Error).init(params, &arg_iter.iter);