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()