Deprecate toGenerator and toLinkedList extensions.
This commit is contained in:
@@ -962,8 +962,9 @@ public fun <T> Iterable<T>.toHashSet(): HashSet<T> {
|
||||
/**
|
||||
* Returns a [LinkedList] containing all elements.
|
||||
*/
|
||||
@Deprecated("Use toCollection(LinkedList()) instead.", ReplaceWith("toCollection(LinkedList())"))
|
||||
public fun <T> Iterable<T>.toLinkedList(): LinkedList<T> {
|
||||
return toCollection(LinkedList<T>())
|
||||
return toCollection(LinkedList())
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user