mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-06 11:16:54 +08:00
Fix typo
This commit is contained in:
parent
2cfd8be0f3
commit
8de9357fdd
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.mamoe.mirai.event.events
|
||||
|
||||
|
||||
// 不要删除跨平台结构.
|
||||
// 不要删除多平台结构.
|
||||
// 否则在 Java 中这个 class 不会被认为是 java.lang.RuntimeException (Kotlin bug)
|
||||
@Suppress("unused")
|
||||
actual class EventCancelledException : RuntimeException {
|
||||
|
Loading…
Reference in New Issue
Block a user