Remove unnecessary UnsafeVariance on Bot.eventChannel

This commit is contained in:
Him188 2020-12-27 15:08:24 +08:00
parent 5b534af4fe
commit 83781b7cda

View File

@ -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