From fe17c4416e1506f5f55173c8290bcb2268e2577b Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 28 Jun 2017 01:11:52 +0300 Subject: [PATCH] Fix a typo: retail -> retain #KT-18526 Fixed --- libraries/stdlib/src/kotlin/collections/MutableCollections.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/collections/MutableCollections.kt b/libraries/stdlib/src/kotlin/collections/MutableCollections.kt index db5d57281ca..8dfb1ede9aa 100644 --- a/libraries/stdlib/src/kotlin/collections/MutableCollections.kt +++ b/libraries/stdlib/src/kotlin/collections/MutableCollections.kt @@ -29,7 +29,7 @@ public inline fun <@kotlin.internal.OnlyInputTypes T> MutableCollection.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`. + * Allows to overcome type-safety restriction of `retainAll` that requires to pass a collection of type `Collection`. * * @return `true` if any element was removed from the collection, `false` if the collection was not modified. */