about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-09-14 16:41:25 -0700
committerJoshua Nelson <joshua@yottadb.com>2020-09-17 11:35:14 -0400
commitd706ba09dbeec956cdbc19d5100038e6c227a3b2 (patch)
tree4b25e820cc12033964fbe53b42458f67125f29e8 /src/doc/rustc-dev-guide
parent3829c92694025e100be9928d679b2b879305a45a (diff)
downloadrust-d706ba09dbeec956cdbc19d5100038e6c227a3b2.tar.gz
rust-d706ba09dbeec956cdbc19d5100038e6c227a3b2.zip
More improvements
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/appendix/background.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/rustc-dev-guide/src/appendix/background.md b/src/doc/rustc-dev-guide/src/appendix/background.md
index 07515aeab08..ae6136dd553 100644
--- a/src/doc/rustc-dev-guide/src/appendix/background.md
+++ b/src/doc/rustc-dev-guide/src/appendix/background.md
@@ -237,16 +237,16 @@ such that the function is well-typed: `∃ T:  (T: Debug) and well_typed(foo)`.
 
 ## What is a de Bruijn Index?
 
-[De Bruijn indices][wikideb] are a way of representing using only integers which
-variables are bound in which binders. They were originally invented for use in
-lambda calculus evaluation (see [this Wikipedia article][wikideb] for more). In
-`rustc`, we use a similar idea for the [representation of generic types][sub].
+[De Bruijn indices][wikideb] are a way of representing, using only integers,
+which variables are bound in which binders. They were originally invented for
+use in lambda calculus evaluation (see [this Wikipedia article][wikideb] for
+more). In `rustc`, we use de Bruijn indices to [represent generic types][sub].
 
 [wikideb]: https://en.wikipedia.org/wiki/De_Bruijn_index
 [sub]: ../generics.md
 
 Here is a basic example of how de Bruijn indices might be used for closures (we
-don't actually do this in `rustc` though):
+don't actually do this in `rustc` though!):
 
 ```rust,ignore
 |x| {