From ed41d10a068065ea80f93736926d9c3240d62c49 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sat, 4 May 2019 13:54:28 +1000 Subject: std: existing LinkedList is actually a TailQueue --- std/atomic/queue.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/atomic') diff --git a/std/atomic/queue.zig b/std/atomic/queue.zig index bf5700c51e..e8d03c4f13 100644 --- a/std/atomic/queue.zig +++ b/std/atomic/queue.zig @@ -14,7 +14,7 @@ pub fn Queue(comptime T: type) type { mutex: std.Mutex, pub const Self = @This(); - pub const Node = std.LinkedList(T).Node; + pub const Node = std.TailQueue(T).Node; pub fn init() Self { return Self{ -- cgit v1.2.3