Skip to content

Commit

Permalink
Auto merge of #10946 - RalfJung:docs, r=epage
Browse files Browse the repository at this point in the history
resolver docs: link to version requirements syntax full explanation

Staring at https://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility, I was confused was this is a "refresher" for. Let's add a link to the main documentation this summarizes.
  • Loading branch information
bors committed Aug 6, 2022
2 parents 0ced33b + 99f279b commit e6827ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/src/reference/resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ with leading zeros. For example, `0.1.0` and `0.1.2` are compatible, but
`0.1.0` and `0.2.0` are not. Similarly, `0.0.1` and `0.0.2` are not
compatible.

As a quick refresher, the *version requirement* syntax Cargo uses for
As a quick refresher, the
[*version requirement* syntax][Specifying Dependencies] Cargo uses for
dependencies is:

Requirement | Example | Equivalence | Description
Expand Down

0 comments on commit e6827ee

Please sign in to comment.