瀏覽代碼

Internal: Suppress UnusedParameter

Him188 5 年之前
父節點
當前提交
4fb3d6c2b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mirai-core-api/src/commonMain/kotlin/message/data/At.kt

+ 1 - 1
mirai-core-api/src/commonMain/kotlin/message/data/At.kt

@@ -41,7 +41,7 @@ public data class At(
         /**
          * 构造一个 [At], 仅供内部使用, 否则可能造成消息无法发出的问题.
          */
-        @Suppress("FunctionName")
+        @Suppress("FunctionName", "UnusedParameter")
         @JvmStatic
         @LowLevelApi
         @Deprecated("Use constructor instead", ReplaceWith("At(target)", "net.mamoe.mirai.message.data.At"))