about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-11-02 22:52:28 +0900
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-11-06 19:18:15 -0600
commit4723ff1be43762e532d201a2daa42796ceb71cb0 (patch)
tree5ebf22a73a102b21a218f782e72f9357958801d3 /src/doc
parent8178320c279aacfa61eace734d9bbe2359476980 (diff)
downloadrust-4723ff1be43762e532d201a2daa42796ceb71cb0.tar.gz
rust-4723ff1be43762e532d201a2daa42796ceb71cb0.zip
Use `provide_both` link instead of `provide(_extern)`
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/query.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/doc/rustc-dev-guide/src/query.md b/src/doc/rustc-dev-guide/src/query.md
index 52786ad3425..77d3b50e5c2 100644
--- a/src/doc/rustc-dev-guide/src/query.md
+++ b/src/doc/rustc-dev-guide/src/query.md
@@ -155,13 +155,11 @@ providers**. Almost all **extern providers** wind up going through the
 [`rustc_metadata` crate][rustc_metadata], which loads the information
 from the crate metadata. But in some cases there are crates that
 provide queries for *both* local and external crates, in which case
-they define both a [`provide`][ext_provide] and a
-[`provide_extern`][ext_provide_extern] function that `rustc_driver`
-can invoke.
+they define both a `provide` and a `provide_extern` function, through
+[`provide_both`][ext_provide_both], that `rustc_driver` can invoke.
 
 [rustc_metadata]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/index.html
-[ext_provide]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/attributes/fn.provide.html
-[ext_provide_extern]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/attributes/fn.provide_extern.html
+[ext_provide_both]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/attributes/fn.provide_both.html
 
 ### Adding a new kind of query