From f4cea1b0cdfac9c16530ecd0e4a6d0d5efb8dd3a Mon Sep 17 00:00:00 2001 From: Vadim Semenov Date: Tue, 14 Apr 2020 17:09:33 +0100 Subject: [PATCH] Fix typo in KDoc for Element.getPolymorphicElement --- libraries/stdlib/src/kotlin/coroutines/CoroutineContextImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/coroutines/CoroutineContextImpl.kt b/libraries/stdlib/src/kotlin/coroutines/CoroutineContextImpl.kt index da39a72b246..ebc46095deb 100644 --- a/libraries/stdlib/src/kotlin/coroutines/CoroutineContextImpl.kt +++ b/libraries/stdlib/src/kotlin/coroutines/CoroutineContextImpl.kt @@ -56,7 +56,7 @@ public abstract class AbstractCoroutineContextKey( } /** - * Returns the current element is it is associated with the given [key] in a polymorphic manner or `null` otherwise. + * Returns the current element if it is associated with the given [key] in a polymorphic manner or `null` otherwise. * This method returns non-null value if either [Element.key] is equal to the given [key] or if the [key] is associated * with [Element.key] via [AbstractCoroutineContextKey]. * See [AbstractCoroutineContextKey] for the example of usage.