We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6da2e34 commit 5a7a390Copy full SHA for 5a7a390
2 files changed
src/maxminddb.zig
@@ -10,6 +10,7 @@ pub const geoip2 = @import("geoip2.zig");
10
pub const Error = reader.ReadError || decoder.DecodeError;
11
pub const Reader = reader.Reader;
12
pub const Metadata = reader.Metadata;
13
+pub const Iterator = reader.Iterator;
14
pub const Network = net.Network;
15
16
test {
src/reader.zig
@@ -326,7 +326,7 @@ const WithinNode = struct {
326
node: usize,
327
};
328
329
-fn Iterator(comptime T: type) type {
+pub fn Iterator(comptime T: type) type {
330
return struct {
331
reader: *Reader,
332
node_count: usize,
0 commit comments