From 5a0cd4f6fbc11517ca58d480cd25a0e5cc932e5d Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 9 Sep 2015 17:54:22 +0300 Subject: [PATCH] Clarify documentation for asReversed. --- libraries/stdlib/src/kotlin/collections/ReversedViews.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/stdlib/src/kotlin/collections/ReversedViews.kt b/libraries/stdlib/src/kotlin/collections/ReversedViews.kt index 05600e172ca..b0a5036116f 100644 --- a/libraries/stdlib/src/kotlin/collections/ReversedViews.kt +++ b/libraries/stdlib/src/kotlin/collections/ReversedViews.kt @@ -38,14 +38,14 @@ private class ReversedList(protected override val delegate: MutableList) : } /** - * Returns a reversed immutable view of the original List. - * All changes made in the original list will be reflected in the reversed one + * Returns a reversed read-only view of the original List. + * All changes made in the original list will be reflected in the reversed one. */ public fun List.asReversed(): List = ReversedListReadOnly(this) /** - * Returns a reversed mutable view of the original List. - * All changes made in the original list will be reflected in the reversed one and vice versa + * Returns a reversed mutable view of the original mutable List. + * All changes made in the original list will be reflected in the reversed one and vice versa. */ platformName("asReversedMutable") public fun MutableList.asReversed(): MutableList = ReversedList(this)