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

This commit is contained in:
Meghan Denny
2025-02-09 20:21:31 -08:00
committed by GitHub
parent 75df7e502c
commit 9142482372
29 changed files with 162 additions and 177 deletions

View File

@@ -616,7 +616,7 @@ fn expand_variables_cmake(
// no open bracket, preserve as a literal
break :blk;
}
const open_pos = var_stack.pop();
const open_pos = var_stack.pop().?;
if (source_offset == open_pos.source) {
source_offset += open_var.len;
}