mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-04 00:32:40 +03:00
d02d0b879c
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>