diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/SemVersion.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/SemVersion.kt index b209a7226..e4940f1be 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/SemVersion.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/SemVersion.kt @@ -64,7 +64,7 @@ internal constructor( * 一条依赖规则 * @see [parseRangeRequirement] */ - public fun interface Requirement { + public interface Requirement { /** 在 [version] 满足此要求时返回 true */ public fun test(version: SemVersion): Boolean }