docs: Fix comment [skip ci]

No idea why I type still instead of this, brain not braining sometimes
This commit is contained in:
Ahmad Ansori Palembani 2024-07-30 10:25:21 +07:00
parent 87d44b1a5a
commit bc51e60bb3
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -26,9 +26,9 @@ data class Version(
patch.compareTo(other.patch)).compareTo(0)
// if semver is equal, check version stage (release (3) > beta (2) > alpha (1))
if (rt == 0) rt = stage.weight.compareTo(other.stage.weight)
// if stage is also equal, check if it's a hotfix (1.2.3 vs 1.2.3.1)
// check if it's a hotfix (1.2.3 vs 1.2.3.1)
if (rt == 0) rt = hotfix.compareTo(other.hotfix)
// if everything are equal, we compare build number. Still only matters on unstable (beta and nightly) releases
// if everything are equal, we compare build number. This only matters on unstable (beta and nightly) releases
if (rt == 0) rt = build.compareTo(other.build)
return rt