mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-29 19:26:04 +08:00
This PR merges the functionality of the `getLastOrNull` method into `getLast`, which improves consistency as its based on methods like `front`, `back`, and `peek` in the `Deque` and `PriorityQueue` containers. Reviewed-on: https://codeberg.org/ziglang/zig/pulls/32008 Reviewed-by: Andrew Kelley <andrew@ziglang.org>