authorgravatar for jacoblevgw@gmail.comJacob G-W <jacoblevgw@gmail.com> 2021-06-21 14:22:01-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-21 17:03:03-07:00
logd14272ab68431b26d85bf041cc4bbb707503af44
tree36eb8f9392802759dbd99ddcb5156348bc510309
parenta04a98ff3e800136f624d97e315304f515376035

std: fix code unblocked by previous commit


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/linked_list.zig+1-1
......@@ -63,7 +63,7 @@ pub fn SinglyLinkedList(comptime T: type) type {
6363 pub fn countChildren(node: *const Node) usize {
6464 var count: usize = 0;
6565 var it: ?*const Node = node.next;
66 while (it) |_| : (it = n.next) {
66 while (it) |n| : (it = n.next) {
6767 count += 1;
6868 }
6969 return count;