# std: Rename \`TailQueue\` to \`DoublyLinkedList\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ff61c428793ff382c8d521638b416ca288e53de5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ff61c428793ff382c8d521638b416ca288e53de5

Requested commit: ff61c428793ff382c8d521638b416ca288e53de5

Commit: ff61c428793ff382c8d521638b416ca288e53de5

Tree: e0a10146c9f2f74d6e816e08764a5d1b8ff05d44

Author: Jay Petacat

Committer: Andrew Kelley

## Message

```
std: Rename `TailQueue` to `DoublyLinkedList`

`TailQueue` was implemented as a doubly-linked list, but named after an
abstract data type. This was inconsistent with `SinglyLinkedList`, which
can be used to implement an abstract data type, but is still named after
the implementation. Renaming `TailQueue` to `DoublyLinkedList` improves
consistency between the two type names, and should help discoverability.

`TailQueue` is now a deprecated alias of `DoublyLinkedList`.

Related to issues #1629 and #8233.

```

## Parents

- [750998eef62a70dbea8c3ba1d44245f506370911](https://git.cafe/gitcafe/zig/commit/750998eef62a70dbea8c3ba1d44245f506370911?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ff61c428793ff382c8d521638b416ca288e53de5?format=markdown)
