std: Move TailQueue alias to correct namespace

This fixes a mistake in PR #16996.
This commit is contained in:
Jay Petacat 2023-08-28 14:58:19 -06:00 committed by Andrew Kelley
parent b8e6c42688
commit 26b03ca823
2 changed files with 3 additions and 4 deletions

View file

@ -171,9 +171,6 @@ test "basic SinglyLinkedList test" {
try testing.expect(list.first.?.next.?.next == null);
}
/// deprecated: use `DoublyLinkedList`.
pub const TailQueue = DoublyLinkedList;
/// A doubly-linked list has a pair of pointers to both the head and
/// tail of the list. List elements have pointers to both the previous
/// and next elements in the sequence. The list can be traversed both

View file

@ -17,6 +17,7 @@ pub const BufSet = @import("buf_set.zig").BufSet;
/// Deprecated: use `process.Child`.
pub const ChildProcess = @import("child_process.zig").ChildProcess;
pub const ComptimeStringMap = @import("comptime_string_map.zig").ComptimeStringMap;
pub const DoublyLinkedList = @import("linked_list.zig").DoublyLinkedList;
pub const DynLib = @import("dynamic_library.zig").DynLib;
pub const DynamicBitSet = bit_set.DynamicBitSet;
pub const DynamicBitSetUnmanaged = bit_set.DynamicBitSetUnmanaged;
@ -43,7 +44,8 @@ pub const StringHashMap = hash_map.StringHashMap;
pub const StringHashMapUnmanaged = hash_map.StringHashMapUnmanaged;
pub const StringArrayHashMap = array_hash_map.StringArrayHashMap;
pub const StringArrayHashMapUnmanaged = array_hash_map.StringArrayHashMapUnmanaged;
pub const DoublyLinkedList = @import("linked_list.zig").DoublyLinkedList;
/// deprecated: use `DoublyLinkedList`.
pub const TailQueue = DoublyLinkedList;
pub const Target = @import("target.zig").Target;
pub const Thread = @import("Thread.zig");
pub const Treap = @import("treap.zig").Treap;