Fix a typo: retail -> retain

#KT-18526 Fixed
This commit is contained in:
Ilya Gorbunov
2017-06-28 01:11:52 +03:00
parent a21dbf08a8
commit fe17c4416e
@@ -29,7 +29,7 @@ public inline fun <@kotlin.internal.OnlyInputTypes T> MutableCollection<out T>.r
/**
* Retains only the elements in this collection that are contained in the specified collection.
*
* Allows to overcome type-safety restriction of `retailAll` that requires to pass a collection of type `Collection<E>`.
* Allows to overcome type-safety restriction of `retainAll` that requires to pass a collection of type `Collection<E>`.
*
* @return `true` if any element was removed from the collection, `false` if the collection was not modified.
*/