diff options
Diffstat (limited to 'tvix/eval/src')
-rw-r--r-- | tvix/eval/src/builtins/versions.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tvix/eval/src/builtins/versions.rs b/tvix/eval/src/builtins/versions.rs index e149cc4dba37..9da7b52ab15c 100644 --- a/tvix/eval/src/builtins/versions.rs +++ b/tvix/eval/src/builtins/versions.rs @@ -28,10 +28,6 @@ impl Ord for VersionPart<'_> { n1.cmp(&n2) } - // empty Word always looses - (VersionPart::Word(""), VersionPart::Number(_)) => Ordering::Less, - (VersionPart::Number(_), VersionPart::Word("")) => Ordering::Greater, - // `pre` looses unless the other part is also a `pre` (VersionPart::Word("pre"), VersionPart::Word("pre")) => Ordering::Equal, (VersionPart::Word("pre"), _) => Ordering::Less, |