Skip to content

Commit 65e5c9f

Browse files
authored
Update documentation on version requirements
Clarify handling of multiple version requirements of disjoint regions
1 parent ca8d20d commit 65e5c9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ Here are some examples of comparison requirements:
110110
### Multiple version requirements
111111

112112
As shown in the examples above, multiple version requirements can be
113-
separated with a comma, e.g., `>= 1.2, < 1.5`.
113+
separated with a comma, e.g., `>= 1.2, < 1.5`. Comma separated requirements
114+
are treated as an intersection, so you cannot _exclude_ a version with
115+
non-overlapping requirements like `<1.2,^1.2.2`.
114116

115117
### Pre-releases
116118

0 commit comments

Comments
 (0)