We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a83db33 commit 63a45b8Copy full SHA for 63a45b8
lib/std/SinglyLinkedList.zig
@@ -86,7 +86,7 @@ pub fn prepend(list: *SinglyLinkedList, new_node: *Node) void {
86
}
87
88
/// Remove `node` from the list.
89
-/// Assumes `node` is in the list.
+/// Asserts that `node` is in the list.
90
pub fn remove(list: *SinglyLinkedList, node: *Node) void {
91
if (list.first == node) {
92
list.first = node.next;
0 commit comments