From 5d962ea6d79599a85575b7d81601a55bec4847cb Mon Sep 17 00:00:00 2001 From: Karlatemp Date: Thu, 24 Sep 2020 18:15:46 +0800 Subject: [PATCH] typo --- .../description/CommandArgumentParserBuiltins.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgumentParserBuiltins.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgumentParserBuiltins.kt index 1ad81847f..366600093 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgumentParserBuiltins.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgumentParserBuiltins.kt @@ -31,7 +31,7 @@ public object IntArgumentParser : InternalCommandArgumentParserExtensions { } /** - * 使用 [String.toInt] 解析 + * 使用 [String.toLong] 解析 */ public object LongArgumentParser : InternalCommandArgumentParserExtensions { public override fun parse(raw: String, sender: CommandSender): Long = @@ -39,7 +39,7 @@ public object LongArgumentParser : InternalCommandArgumentParserExtensions } /** - * 使用 [String.toInt] 解析 + * 使用 [String.toShort] 解析 */ public object ShortArgumentParser : InternalCommandArgumentParserExtensions { public override fun parse(raw: String, sender: CommandSender): Short = @@ -47,7 +47,7 @@ public object ShortArgumentParser : InternalCommandArgumentParserExtensions { public override fun parse(raw: String, sender: CommandSender): Byte = @@ -55,7 +55,7 @@ public object ByteArgumentParser : InternalCommandArgumentParserExtensions } /** - * 使用 [String.toInt] 解析 + * 使用 [String.toDouble] 解析 */ public object DoubleArgumentParser : InternalCommandArgumentParserExtensions { public override fun parse(raw: String, sender: CommandSender): Double = @@ -63,7 +63,7 @@ public object DoubleArgumentParser : InternalCommandArgumentParserExtensions { public override fun parse(raw: String, sender: CommandSender): Float =