mirror of
https://github.com/ziglang/zig.git
synced 2026-10-14 10:27:43 -04:00
std.ArrayList: popOrNull() -> pop() [v2] (#22720)
This commit is contained in:
1 parent
75df7e502c
commit
9142482372
29 files changed
+162
-177
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user