Skip to content

Commit

Permalink
Clarify that [replace] requires a version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Dec 19, 2019
1 parent 47a46ae commit e958fe6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -1000,11 +1000,11 @@ other copies. The syntax is similar to the `[dependencies]` section:

Each key in the `[replace]` table is a [package ID
specification](pkgid-spec.md), which allows arbitrarily choosing a node in the
dependency graph to override. The value of each key is the same as the
`[dependencies]` syntax for specifying dependencies, except that you can't
specify features. Note that when a crate is overridden the copy it's overridden
with must have both the same name and version, but it can come from a different
source (e.g., git or a local path).
dependency graph to override (the 3-part version number is required). The
value of each key is the same as the `[dependencies]` syntax for specifying
dependencies, except that you can't specify features. Note that when a crate
is overridden the copy it's overridden with must have both the same name and
version, but it can come from a different source (e.g., git or a local path).

More information about overriding dependencies can be found in the [overriding
dependencies][replace] section of the documentation.
Expand Down

0 comments on commit e958fe6

Please sign in to comment.