mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 23:50:08 +08:00
Remove unnecessary UnsafeVariance on Bot.eventChannel
This commit is contained in:
parent
5b534af4fe
commit
83781b7cda
@ -80,7 +80,7 @@ public interface Bot : CoroutineScope, ContactOrBot, UserOrBot {
|
||||
* 来自这个 [Bot] 的 [BotEvent] 的事件通道.
|
||||
* @see EventChannel
|
||||
*/
|
||||
public val eventChannel: EventChannel<@UnsafeVariance BotEvent>
|
||||
public val eventChannel: EventChannel<BotEvent>
|
||||
|
||||
// region contacts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user