| author | |
| committer | |
| log | d14272ab68431b26d85bf041cc4bbb707503af44 |
| tree | 36eb8f9392802759dbd99ddcb5156348bc510309 |
| parent | a04a98ff3e800136f624d97e315304f515376035 |
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 { |
| 63 | 63 | pub fn countChildren(node: *const Node) usize { |
| 64 | 64 | var count: usize = 0; |
| 65 | 65 | var it: ?*const Node = node.next; |
| 66 | while (it) |_| : (it = n.next) { | |
| 66 | while (it) |n| : (it = n.next) { | |
| 67 | 67 | count += 1; |
| 68 | 68 | } |
| 69 | 69 | return count; |