Skip to content

Commit 321bebf

Browse files
committed
More improvements
1 parent e6a487d commit 321bebf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/appendix/background.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,16 +237,16 @@ such that the function is well-typed: `∃ T: (T: Debug) and well_typed(foo)`.
237237

238238
## What is a de Bruijn Index?
239239

240-
[De Bruijn indices][wikideb] are a way of representing using only integers which
241-
variables are bound in which binders. They were originally invented for use in
242-
lambda calculus evaluation (see [this Uncyclopedia article][wikideb] for more). In
243-
`rustc`, we use a similar idea for the [representation of generic types][sub].
240+
[De Bruijn indices][wikideb] are a way of representing, using only integers,
241+
which variables are bound in which binders. They were originally invented for
242+
use in lambda calculus evaluation (see [this Uncyclopedia article][wikideb] for
243+
more). In `rustc`, we use de Bruijn indices to [represent generic types][sub].
244244

245245
[wikideb]: https://en.wikipedia.org/wiki/De_Bruijn_index
246246
[sub]: ../generics.md
247247

248248
Here is a basic example of how de Bruijn indices might be used for closures (we
249-
don't actually do this in `rustc` though):
249+
don't actually do this in `rustc` though!):
250250

251251
```rust,ignore
252252
|x| {

0 commit comments

Comments
 (0)