Skip to content

Commit 58475c8

Browse files
committed
Update TraversalCircularListNode.ixx
1 parent 88afa0c commit 58475c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

split-a-circular-linked-list/TraversalCircularListNode.ixx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ export auto TraversalCircularListNode(ListNode* list, function<void(ListNode*)>
1818
}
1919
if (cur)
2020
callback(cur);
21-
return;
22-
};
21+
}
2322
}

0 commit comments

Comments
 (0)