about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorDan Robertson <danlrobertson89@gmail.com>2018-03-28 03:23:51 +0000
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-03-29 08:35:25 -0500
commitbf92dda27f8a503fab031a3411bfafe4cfc23032 (patch)
tree82e3b12946a58e23186ed11f44d60f92a06ac57f /src/doc/rustc-dev-guide
parenta721176ffe50f43867fa891f7ada9fd2e691dd3e (diff)
downloadrust-bf92dda27f8a503fab031a3411bfafe4cfc23032.tar.gz
rust-bf92dda27f8a503fab031a3411bfafe4cfc23032.zip
Update links
Add missing link and add link for UFCS.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/method-lookup.md3
-rw-r--r--src/doc/rustc-dev-guide/src/traits-bibliography.md1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/method-lookup.md b/src/doc/rustc-dev-guide/src/method-lookup.md
index 543428d621a..ac0e427db6f 100644
--- a/src/doc/rustc-dev-guide/src/method-lookup.md
+++ b/src/doc/rustc-dev-guide/src/method-lookup.md
@@ -12,7 +12,7 @@ the form:
 receiver.method(...)
 ```
 
-into a more explicit UFCS form:
+into a more explicit [UFCS] form:
 
 ```rust
 Trait::method(ADJ(receiver), ...) // for a trait call
@@ -37,6 +37,7 @@ probe phase produces a "pick" (`probe::Pick`), which is designed to be
 cacheable across method-call sites. Therefore, it does not include
 inference variables or other information.
 
+[UFCS]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
 [probe]: https://github.com/rust-lang/rust/blob/master/src/librustc_typeck/check/method/probe.rs
 [confirm]: https://github.com/rust-lang/rust/blob/master/src/librustc_typeck/check/method/confirm.rs
 
diff --git a/src/doc/rustc-dev-guide/src/traits-bibliography.md b/src/doc/rustc-dev-guide/src/traits-bibliography.md
index d9ff912c7b1..02607b525b1 100644
--- a/src/doc/rustc-dev-guide/src/traits-bibliography.md
+++ b/src/doc/rustc-dev-guide/src/traits-bibliography.md
@@ -26,3 +26,4 @@ SLG formulation that is the basis for our on-demand solver.
 
 [nftrd]: https://dl.acm.org/citation.cfm?id=651202
 [ts]: http://www3.cs.stonybrook.edu/~tswift/
+[Theresa Swift]: http://www3.cs.stonybrook.edu/~tswift/