Commit 6bfd11b0 authored by Him188's avatar Him188

Remove redundant annotation

parent 68ba984f
......@@ -2,7 +2,6 @@
package net.mamoe.mirai
import io.ktor.util.KtorExperimentalAPI
import kotlinx.coroutines.CoroutineScope
import kotlinx.io.OutputStream
import kotlinx.io.core.ByteReadPacket
......@@ -145,7 +144,6 @@ abstract class Bot : CoroutineScope {
/**
* 需要调用者自行 close [output]
*/
@UseExperimental(KtorExperimentalAPI::class)
suspend inline fun Image.downloadTo(output: OutputStream) =
download().use { input -> input.transferTo(output) }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment