Commit 8de9357f authored by Him188's avatar Him188

Fix typo

parent 2cfd8be0
......@@ -52,7 +52,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
* [Bot] 运行的 [Context].
*
* 在 JVM 的默认实现为 `class ContextImpl : Context`
* 在 Android 实现为 `android.content.Context`
* 在 Android 实现为 [android.content.Context]
*/
actual abstract val context: Context
......
......@@ -61,7 +61,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
/**
* [Bot] 运行的 [Context].
*
* 在 JVM 的默认实现为 `class ContextImpl : Context`
* 在 JVM 的默认实现为 [net.mamoe.mirai.utils.Context]
* 在 Android 实现为 `android.content.Context`
*/
actual abstract val context: Context
......
package net.mamoe.mirai.event.events
// 不要删除平台结构.
// 不要删除平台结构.
// 否则在 Java 中这个 class 不会被认为是 java.lang.RuntimeException (Kotlin bug)
@Suppress("unused")
actual class EventCancelledException : RuntimeException {
......
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