Skip to content

Commit e92a443

Browse files
committed
Auto merge of #5527 - tcr:patch-1, r=alexcrichton
Point Source Replacement to the Overriding Dependencies section This would've saved me a minute. This mirrors a similarly helpful caveat in [the [patch] section](https://doc.rust-lang.org/cargo/reference/manifest.html#the-patch-section).
2 parents b24b455 + c38c6db commit e92a443

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/doc/src/reference/source-replacement.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Source Replacement
22

3+
This document is about replacing the crate index. You can read about overriding
4+
dependencies in the [overriding dependencies][overriding] section of this
5+
documentation.
6+
37
Cargo supports the ability to **replace one source with another** to express
48
strategies along the lines of mirrors or vendoring dependencies. Configuration
59
is currently done through the [`.cargo/config` configuration][config] mechanism,
@@ -56,6 +60,7 @@ dependencies through the usage of [the `[replace]` key][replace-section], and
5660
private registry support is planned for a future version of Cargo.
5761

5862
[replace-section]: reference/manifest.html#the-replace-section
63+
[overriding]: reference/specifying-dependencies.html#overriding-dependencies
5964

6065
### Configuration
6166

0 commit comments

Comments
 (0)