From 2589f7207baef686dff969ccf2bd596a16b5012e Mon Sep 17 00:00:00 2001 From: DrDeano Date: Wed, 13 May 2020 16:21:15 +0100 Subject: [PATCH] Make StackIterator next public --- lib/std/debug.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/debug.zig b/lib/std/debug.zig index d999de6a17..3e52770932 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -357,7 +357,7 @@ pub const StackIterator = struct { else 0; - fn next(self: *StackIterator) ?usize { + pub fn next(self: *StackIterator) ?usize { var address = self.next_internal() orelse return null; if (self.first_address) |first_address| {