From b0a234ec7479fc6bf6ea5c0e80a66eda73801ebc Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Fri, 15 Mar 2019 03:10:33 +0300 Subject: [PATCH] Minor: collection docs formatting --- core/builtins/native/kotlin/Collections.kt | 6 +++--- .../stdlib/js/src/kotlin/collections/AbstractMutableSet.kt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/builtins/native/kotlin/Collections.kt b/core/builtins/native/kotlin/Collections.kt index 66bef106891..93106f5c1c0 100644 --- a/core/builtins/native/kotlin/Collections.kt +++ b/core/builtins/native/kotlin/Collections.kt @@ -134,8 +134,8 @@ public interface MutableCollection : Collection, MutableIterable { */ public interface List : Collection { // Query Operations - override val size: Int + override val size: Int override fun isEmpty(): Boolean override fun contains(element: @UnsafeVariance E): Boolean override fun iterator(): Iterator @@ -256,8 +256,8 @@ public interface MutableList : List, MutableCollection { */ public interface Set : Collection { // Query Operations - override val size: Int + override val size: Int override fun isEmpty(): Boolean override fun contains(element: @UnsafeVariance E): Boolean override fun iterator(): Iterator @@ -287,8 +287,8 @@ public interface MutableSet : Set, MutableCollection { override fun remove(element: E): Boolean // Bulk Modification Operations - override fun addAll(elements: Collection): Boolean + override fun addAll(elements: Collection): Boolean override fun removeAll(elements: Collection): Boolean override fun retainAll(elements: Collection): Boolean override fun clear(): Unit diff --git a/libraries/stdlib/js/src/kotlin/collections/AbstractMutableSet.kt b/libraries/stdlib/js/src/kotlin/collections/AbstractMutableSet.kt index 38c3af7d8ed..c52f650391f 100644 --- a/libraries/stdlib/js/src/kotlin/collections/AbstractMutableSet.kt +++ b/libraries/stdlib/js/src/kotlin/collections/AbstractMutableSet.kt @@ -14,7 +14,7 @@ public actual abstract class AbstractMutableSet protected actual constructor( /** * Compares this set with another set instance with the unordered structural equality. * - * @return true, if [other] instance is a [Set] of the same size, all elements of which are contained in this set. + * @return `true`, if [other] instance is a [Set] of the same size, all elements of which are contained in this set. */ override fun equals(other: Any?): Boolean { if (other === this) return true