diff --git a/src/root.zig b/src/root.zig index 80a2287..9eadbe3 100644 --- a/src/root.zig +++ b/src/root.zig @@ -433,5 +433,9 @@ pub fn Empty(comptime T: type) type { pub fn next(_: Empty(T)) ?Item { return null; } + + pub fn sizeHint(_: *const Empty(T)) usize { + return 0; + } }; }