1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

semver: run v fmt (#7439)

This commit is contained in:
zakuro
2020-12-22 04:25:19 +09:00
committed by GitHub
parent 805ec8e177
commit fade162471
5 changed files with 15 additions and 45 deletions

View File

@ -3,9 +3,7 @@ module semver
// * Private functions.
[inline]
fn version_satisfies(ver Version, input string) bool {
range := parse_range(input) or {
return false
}
range := parse_range(input) or { return false }
return range.satisfies(ver)
}