use explicit version of split
All checks were successful
Generic zig build / build (push) Successful in 41s
All checks were successful
Generic zig build / build (push) Successful in 41s
This commit is contained in:
parent
4ce057ffcb
commit
c419359a8c
|
@ -829,7 +829,7 @@ fn getTrait(trait_type: []const u8, value: std.json.Value) SmithyParseError!?Tra
|
||||||
\\aws.protocols#httpChecksum
|
\\aws.protocols#httpChecksum
|
||||||
\\aws.customizations#s3UnwrappedXmlOutput
|
\\aws.customizations#s3UnwrappedXmlOutput
|
||||||
; // NOTE: inputs/outputs are not used in AWS models, but default is and might be handy
|
; // NOTE: inputs/outputs are not used in AWS models, but default is and might be handy
|
||||||
var iterator = std.mem.split(u8, list, "\n");
|
var iterator = std.mem.splitScalar(u8, list, '\n');
|
||||||
while (iterator.next()) |known_but_unimplemented| {
|
while (iterator.next()) |known_but_unimplemented| {
|
||||||
if (std.mem.eql(u8, trait_type, known_but_unimplemented))
|
if (std.mem.eql(u8, trait_type, known_but_unimplemented))
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user