From ce4c4f62f77bff55097ee2ecd4db03873e2f77d5 Mon Sep 17 00:00:00 2001 From: Dominic Fischer Date: Wed, 25 Dec 2019 12:14:53 +0100 Subject: [PATCH] Fix typo (#3718) --- Interop/Runtime/src/main/kotlin/kotlinx/cinterop/Utils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interop/Runtime/src/main/kotlin/kotlinx/cinterop/Utils.kt b/Interop/Runtime/src/main/kotlin/kotlinx/cinterop/Utils.kt index 0da04b0478d..72dda83a49b 100644 --- a/Interop/Runtime/src/main/kotlin/kotlinx/cinterop/Utils.kt +++ b/Interop/Runtime/src/main/kotlin/kotlinx/cinterop/Utils.kt @@ -307,7 +307,7 @@ public fun CValues.getBytes(): ByteArray = memScoped { } /** - * Calls the [block] with temporary copy if this value as receiver. + * Calls the [block] with temporary copy of this value as receiver. */ public inline fun CValue.useContents(block: T.() -> R): R = memScoped { this@useContents.placeTo(memScope).pointed.block()