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. */