Make SemVersion.Requirement not fun

This commit is contained in:
Him188 2020-09-20 18:59:59 +08:00
parent 2035e136f3
commit 9514a5c3e8

View File

@ -64,7 +64,7 @@ internal constructor(
* 一条依赖规则
* @see [parseRangeRequirement]
*/
public fun interface Requirement {
public interface Requirement {
/** 在 [version] 满足此要求时返回 true */
public fun test(version: SemVersion): Boolean
}