File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ defmodule Version do
50
50
be expressed as:
51
51
52
52
"~> 2.0.0"
53
-
53
+
54
54
`~>` will never include pre-release versions of its upper bound.
55
55
It can also be used to set an upper bound on only the major
56
56
version part. See the table below for `~>` requirements and
57
57
their corresponding translation.
58
-
58
+
59
59
`~>` | Translation
60
60
:------------- | :---------------------
61
61
`~> 2.0.0` | `>= 2.0.0 and < 2.1.0`
@@ -74,7 +74,7 @@ defmodule Version do
74
74
@ type major :: String . t | non_neg_integer
75
75
@ type minor :: non_neg_integer | nil
76
76
@ type patch :: non_neg_integer | nil
77
- @ type pre :: [ String . t ]
77
+ @ type pre :: [ String . t | non_neg_integer ]
78
78
@ type build :: String . t | nil
79
79
@ type matchable :: { major :: major ,
80
80
minor :: minor ,
You can’t perform that action at this time.
0 commit comments