Skip to content

Commit 84c0f7d

Browse files
committed
some change
1 parent 9eaf7b5 commit 84c0f7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.{
22
.name = "zig-msgpack",
33
.version = "0.0.0",
4-
.minimum_zig_version = "0.12.0",
4+
.minimum_zig_version = "0.11.0",
55
.dependencies = .{},
66
.paths = .{
77
"",

src/msgpack.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,12 +2356,12 @@ pub fn Pack(
23562356
}
23572357

23582358
/// read value
2359-
pub fn read_element(self: MapReader, comptime T: type, allocator: Allocator) !read_type_help(T) {
2359+
pub fn read(self: MapReader, comptime T: type, allocator: Allocator) !read_type_help(T) {
23602360
return self.pack.read(T, allocator);
23612361
}
23622362

23632363
/// read elemet no alloc
2364-
pub fn read_element_no_alloc(self: MapReader, comptime T: type) !read_type_help_no_alloc(T) {
2364+
pub fn read_no_alloc(self: MapReader, comptime T: type) !read_type_help_no_alloc(T) {
23652365
return self.pack.readNoAlloc(T);
23662366
}
23672367
};

0 commit comments

Comments
 (0)