Auto merge of #12392 - tmfink:doc-paths-overrides, r=weihanglo

docs: format config override caveat as a note
This commit is contained in:
bors 2023-07-23 17:55:56 +00:00
commit af8643c5a4

View File

@ -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/