Skip to content

Commit

Permalink
Update version_format_specification.md
Browse files Browse the repository at this point in the history
Fixing erroneous description. By definition "Caret (^) starts a suffix that always sorts higher" however the loop logic below describes the opposite.
  • Loading branch information
cherio authored Jun 22, 2024
1 parent c367a34 commit a1b78d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/version_format_specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ strings are found to compare as different. In a loop:
the string with `-` compares lower. Otherwise, both minus characters are skipped.
5. If the remaining part of one of strings starts with `^`:
if the other remaining part does not start with `^`,
the string with `^` compares lower. Otherwise, both caret characters are skipped.
the string with `^` compares higher. Otherwise, both caret characters are skipped.
6. If the remaining part of one of strings starts with `.`:
if the other remaining part does not start with `.`,
the string with `.` compares lower. Otherwise, both dot characters are skipped.
Expand Down

0 comments on commit a1b78d6

Please sign in to comment.