mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Update documentation on version requirements
Clarify handling of multiple version requirements of disjoint regions
This commit is contained in:
parent
ca8d20d578
commit
65e5c9fa58
@ -110,7 +110,9 @@ Here are some examples of comparison requirements:
|
||||
### Multiple version requirements
|
||||
|
||||
As shown in the examples above, multiple version requirements can be
|
||||
separated with a comma, e.g., `>= 1.2, < 1.5`.
|
||||
separated with a comma, e.g., `>= 1.2, < 1.5`. Comma separated requirements
|
||||
are treated as an intersection, so you cannot _exclude_ a version with
|
||||
non-overlapping requirements like `<1.2,^1.2.2`.
|
||||
|
||||
### Pre-releases
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user