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
5050 be expressed as:
5151
5252 "~> 2.0.0"
53-
53+
5454 `~>` will never include pre-release versions of its upper bound.
5555 It can also be used to set an upper bound on only the major
5656 version part. See the table below for `~>` requirements and
5757 their corresponding translation.
58-
58+
5959 `~>` | Translation
6060 :------------- | :---------------------
6161 `~> 2.0.0` | `>= 2.0.0 and < 2.1.0`
@@ -74,7 +74,7 @@ defmodule Version do
7474 @ type major :: String . t | non_neg_integer
7575 @ type minor :: non_neg_integer | nil
7676 @ type patch :: non_neg_integer | nil
77- @ type pre :: [ String . t ]
77+ @ type pre :: [ String . t | non_neg_integer ]
7878 @ type build :: String . t | nil
7979 @ type matchable :: { major :: major ,
8080 minor :: minor ,
You can’t perform that action at this time.
0 commit comments