From 6f9579d51bf341ff18afa4dc471b004010e3ea30 Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Mon, 11 Nov 2019 19:48:25 +0800
Subject: [PATCH] Update docs

---
 .../src/commonMain/kotlin/net.mamoe.mirai/message/Message.kt    | 2 ++
 .../src/commonMain/kotlin/net.mamoe.mirai/network/BotSession.kt | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/Message.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/Message.kt
index 5b13d7c2d..e8b55e863 100644
--- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/Message.kt
+++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/Message.kt
@@ -58,6 +58,8 @@ interface Message {
      * [@123456789]
      * [face123]
      * ```
+     *
+     * 使用 [toString] 将得到同样的值
      */
     val stringValue: String
 
diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/BotSession.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/BotSession.kt
index 5a6eaeb9f..9768a4ec4 100644
--- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/BotSession.kt
+++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/BotSession.kt
@@ -33,7 +33,7 @@ internal inline fun TIMBotNetworkHandler.BotSession(
     bot: Bot,
     sessionKey: SessionKey,
     socket: DataPacketSocketAdapter
-) = BotSession(bot, sessionKey, socket, this)
+): BotSession = BotSession(bot, sessionKey, socket, this)
 
 /**
  * 登录会话. 当登录完成后, 客户端会拿到 sessionKey.