diff options
| author | DrDeano <ed.dean515@gmail.com> | 2020-05-13 16:21:15 +0100 |
|---|---|---|
| committer | DrDeano <ed.dean515@gmail.com> | 2020-05-13 16:21:15 +0100 |
| commit | 2589f7207baef686dff969ccf2bd596a16b5012e (patch) | |
| tree | 7e59d05b73d3f4ee358f38d292231231e31ba44f /lib/std/debug.zig | |
| parent | 3715226b9fd0c2d097fdd47935071b7ef30233e9 (diff) | |
| download | zig-2589f7207baef686dff969ccf2bd596a16b5012e.tar.gz zig-2589f7207baef686dff969ccf2bd596a16b5012e.zip | |
Make StackIterator next public
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 2 |
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| { |
