Skip to content

Commit

Permalink
Auto merge of rust-lang#12392 - tmfink:doc-paths-overrides, r=weihanglo
Browse files Browse the repository at this point in the history
docs: format config override caveat as a note
  • Loading branch information
bors committed Jul 23, 2023
2 parents a7b6a3c + ccfaffc commit af8643c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/src/reference/overriding-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ crate, instead `[patch]` must be used in that situation. As a result usage of a
path override is typically isolated to quick bug fixes rather than larger
changes.

Note: using a local configuration to override paths will only work for crates
that have been published to [crates.io]. You cannot use this feature to tell
Cargo how to find local unpublished crates.
> **Note**: using a local configuration to override paths will only work for
> crates that have been published to [crates.io]. You cannot use this feature
> to tell Cargo how to find local unpublished crates.

[crates.io]: https://crates.io/
Expand Down

0 comments on commit af8643c

Please sign in to comment.