Skip to content

Commit 0a42d49

Browse files
remove superfluous comment (#55634)
Fix #55389
1 parent 599b7ac commit 0a42d49

File tree

1 file changed

+1
-1
lines changed
  • src/libraries/System.Collections/src/System/Collections/Generic

1 file changed

+1
-1
lines changed

src/libraries/System.Collections/src/System/Collections/Generic/LinkedList.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public void Clear()
177177
while (current != null)
178178
{
179179
LinkedListNode<T> temp = current;
180-
current = current.Next; // use Next the instead of "next", otherwise it will loop forever
180+
current = current.Next;
181181
temp.Invalidate();
182182
}
183183

0 commit comments

Comments
 (0)