Skip to content

Commit 0a37d76

Browse files
committed
Auto merge of #5050 - cardoe:add-dependency-info, r=matklad
doc: add explicit example with ^ and leading 0 Since the leading 0 is treated a bit special, its worth it to have an explicit example to match the above example of the major version being > 0.
2 parents 489f570 + 9961970 commit 0a37d76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/src/reference/specifying-dependencies.md

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ be allowed with them:
4242
^1.2 := >=1.2.0 <2.0.0
4343
^1 := >=1.0.0 <2.0.0
4444
^0.2.3 := >=0.2.3 <0.3.0
45+
^0.2 := >= 0.2.0 < 0.3.0
4546
^0.0.3 := >=0.0.3 <0.0.4
4647
^0.0 := >=0.0.0 <0.1.0
4748
^0 := >=0.0.0 <1.0.0

0 commit comments

Comments
 (0)