std.ArrayList: popOrNull() -> pop() [v2] (#22720)

This commit is contained in:
Meghan Denny authored and GitHub committed 2025-02-10 04:21:31 +00:00
1 parent 75df7e502c
commit 9142482372
29 files changed
+162 -177

No files matched your search

+1 -1
View File
@@ -816,7 +816,7 @@ fn isThematicBreak(line: []const u8) bool {
}
fn closeLastBlock(p: *Parser) !void {
const b = p.pending_blocks.pop();
const b = p.pending_blocks.pop().?;
const node = switch (b.tag) {
.list => list: {
assert(b.string_start == p.scratch_string.items.len);