fix ordering of union

This commit is contained in:
Emil Lerch 2024-04-02 10:57:42 -07:00
parent 6fae461907
commit 1e534201c4
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -133,8 +133,6 @@ pub const Trait = union(TraitType) {
}, },
aws_protocol: AwsProtocol, aws_protocol: AwsProtocol,
ec2_query_name: []const u8, ec2_query_name: []const u8,
json_name: []const u8,
xml_name: []const u8,
http: struct { http: struct {
method: []const u8, method: []const u8,
uri: []const u8, uri: []const u8,
@ -144,6 +142,8 @@ pub const Trait = union(TraitType) {
http_label: []const u8, http_label: []const u8,
http_query: []const u8, http_query: []const u8,
http_payload: struct {}, http_payload: struct {},
json_name: []const u8,
xml_name: []const u8,
required: struct {}, required: struct {},
client_optional: void, client_optional: void,
documentation: []const u8, documentation: []const u8,