Skip to content

Commit

Permalink
Update msgpack.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhongjia committed Feb 15, 2024
1 parent 7786f59 commit a5a2ba9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/msgpack.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1924,9 +1924,6 @@ pub fn Pack(
if (field_name.len == key.str.len and std.mem.eql(u8, field_name, key.value())) {
const field_type = field.type;
@field(res, field_name) = try self.read(field_type, allocator);
} else {
std.log.err("not found this field {s} in type {}", .{ field_name, T });
return MsGPackError.DATA_READING;
}
}
}
Expand Down

0 comments on commit a5a2ba9

Please sign in to comment.