Skip to content

Commit a6951d0

Browse files
committed
Document requirements without operator, closes #14988
1 parent 3c5e968 commit a6951d0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/elixir/lib/version.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ defmodule Version do
4444
# Anything later than 2.0.0
4545
"> 2.0.0"
4646
47+
You can skip the operator, which is equivalent to `==`:
48+
49+
# Only version 2.0.0
50+
"2.0.0"
51+
4752
Requirements also support `and` and `or` for complex conditions:
4853
4954
# 2.0.0 and later until 2.1.0

0 commit comments

Comments
 (0)