Closed hnakamur closed 3 years ago
In zig 0.8.1, std.PriorityQueue.init signature is
pub fn init(allocator: *Allocator, compareFn: fn (a: T, b: T) Order) Self
https://github.com/ziglang/zig/blob/0.8.1/lib/std/priority_queue.zig#L34
Sorry, this is a duplication of https://github.com/Sobeston/ziglearn/pull/122 I'm closing this.
In zig 0.8.1, std.PriorityQueue.init signature is
https://github.com/ziglang/zig/blob/0.8.1/lib/std/priority_queue.zig#L34