Skip to content

Commit 8193cdb

Browse files
committed
Remove unnecessary opt-in
1 parent 9a4ac94 commit 8193cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/runtime-core/posix/src/aws/smithy/kotlin/runtime/net/DefaultHostResolverPosix.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package aws.smithy.kotlin.runtime.net
77
import kotlinx.cinterop.*
88
import platform.posix.*
99

10-
@OptIn(UnsafeNumber::class, ExperimentalForeignApi::class)
10+
@OptIn(ExperimentalForeignApi::class)
1111
internal actual object DefaultHostResolver : HostResolver {
1212
actual override suspend fun resolve(hostname: String): List<HostAddress> = memScoped {
1313
val hints = alloc<addrinfo>().apply {

0 commit comments

Comments
 (0)