about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorMark Mansi <markm@cs.wisc.edu>2020-02-18 14:45:02 -0600
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-02-18 16:05:50 -0600
commit8dc7002acd3faf6505e23dc6cc3f939e15488bbd (patch)
tree7f5615d68060f212c22a2312d04b5d6bc0da8672 /src/doc/rustc-dev-guide
parentc401f8f8556fdcc17fc9296c00a65a04da988568 (diff)
downloadrust-8dc7002acd3faf6505e23dc6cc3f939e15488bbd.tar.gz
rust-8dc7002acd3faf6505e23dc6cc3f939e15488bbd.zip
fix link
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/traits/hrtb.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/traits/hrtb.md b/src/doc/rustc-dev-guide/src/traits/hrtb.md
index 8b3a9f649bd..f41d43ffd35 100644
--- a/src/doc/rustc-dev-guide/src/traits/hrtb.md
+++ b/src/doc/rustc-dev-guide/src/traits/hrtb.md
@@ -40,8 +40,8 @@ subtyping, we recommend you read the paper). There are a few parts:
 2. Match the impl against the [placeholder] obligation.
 3. Check for _placeholder leaks_.
 
+[hrsubtype]: ./hrtb.md
 [placeholder]: ../appendix/glossary.html#appendix-c-glossary
-[hrsubtype]: https://github.com/rust-lang/rust/tree/master/src/librustc/infer/higher_ranked/README.md
 [paper by SPJ]: http://research.microsoft.com/en-us/um/people/simonpj/papers/higher-rank/
 
 So let's work through our example.