From 2d10c6e35677bcb2a35f5d615eae3e5bba7b6258 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sun, 5 Sep 2021 13:05:50 -0700 Subject: [PATCH] change for compiling on 0.8.1 or current master --- smithy/src/smithy.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/smithy/src/smithy.zig b/smithy/src/smithy.zig index 636124b..0d39bc5 100644 --- a/smithy/src/smithy.zig +++ b/smithy/src/smithy.zig @@ -620,6 +620,7 @@ fn getTrait(trait_type: []const u8, value: std.json.Value) SmithyParseError!?Tra \\smithy.api#xmlName \\smithy.waiters#waitable ; + // var iterator = std.mem.split(u8, list, "\n"); // Uncomment for 0.8.1 var iterator = std.mem.split(list, "\n"); while (iterator.next()) |known_but_unimplemented| { if (std.mem.eql(u8, trait_type, known_but_unimplemented))