aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorDrDeano <ed.dean515@gmail.com>2020-05-13 16:21:15 +0100
committerDrDeano <ed.dean515@gmail.com>2020-05-13 16:21:15 +0100
commit2589f7207baef686dff969ccf2bd596a16b5012e (patch)
tree7e59d05b73d3f4ee358f38d292231231e31ba44f /lib/std/debug.zig
parent3715226b9fd0c2d097fdd47935071b7ef30233e9 (diff)
downloadzig-2589f7207baef686dff969ccf2bd596a16b5012e.tar.gz
zig-2589f7207baef686dff969ccf2bd596a16b5012e.zip
Make StackIterator next public
Diffstat (limited to 'lib/std/debug.zig')
-rw-r--r--lib/std/debug.zig2
1 files changed, 1 insertions, 1 deletions
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| {