Skip to content

Conversation

@squeek502
Copy link
Member

@squeek502 squeek502 commented Oct 26, 2025

Split off from #24832

Closes #25304, closes #16795, more context in #24373

IOKG04 and others added 2 commits October 25, 2025 21:10
Removing a node that is not in the list invokes safety-checked illegal behavior, so "asserts" is the recommended language to use.
@squeek502 squeek502 changed the title Document that Singly/DoublyLinkedList rely on the node being in the list Document that remove of Singly/DoublyLinkedList relies on the node being in the list Oct 29, 2025
@squeek502 squeek502 enabled auto-merge October 29, 2025 06:39
@squeek502 squeek502 merged commit 6568f0f into ziglang:master Oct 29, 2025
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that SinglyLinkedList.remove() asserts node exists in list SinglyLinkedList remove function is missing documentation

2 participants