Skip to content

Commit c1ccde1

Browse files
committed
Auto merge of #12267 - tokarevart:patch-1, r=ehuss
Fix version requirement example in Dependency Resolution, SemVer compatibility section I additionally verified with `dtolnay/semver` crate (which it seems cargo itself uses) that version `1.2.0` really matches `>=1.2, <1.5` version requirement.
2 parents 0280773 + 6c450bd commit c1ccde1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/resolver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Tilde | `~1.2` | <code>>=1.2.0,&nbsp;<1.3.0</code> | Minimum version, with restr
5050
Wildcard | `1.*` | <code>>=1.0.0,&nbsp;<2.0.0</code> | Any version in the `*` position.
5151
Equals | `=1.2.3` | <code>=1.2.3</code> | Exactly the specified version only.
5252
Comparison | `>1.1` | <code>>=1.2.0</code> | Naive numeric comparison of specified digits.
53-
Compound | <code>>=1.2,&nbsp;<1.5</code> | <code>>1.2.0,&nbsp;<1.5.0</code> | Multiple requirements that must be simultaneously satisfied.
53+
Compound | <code>>=1.2,&nbsp;<1.5</code> | <code>>=1.2.0,&nbsp;<1.5.0</code> | Multiple requirements that must be simultaneously satisfied.
5454

5555
When multiple packages specify a dependency for a common package, the resolver
5656
attempts to ensure that they use the same version of that common package, as

0 commit comments

Comments
 (0)