update to new pop API

This commit is contained in:
Andrew Kelley 2025-02-22 15:53:36 -08:00
parent 8469a44c9c
commit ed55b2ef17

View File

@ -3509,7 +3509,7 @@ fn AutoIndentingStream(comptime UnderlyingWriter: type) type {
} }
pub fn popIndent(self: *Self) void { pub fn popIndent(self: *Self) void {
if (self.indent_stack.pop().realized) { if (self.indent_stack.pop().?.realized) {
assert(self.indent_count > 0); assert(self.indent_count > 0);
self.indent_count -= 1; self.indent_count -= 1;
} }