File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -237,16 +237,16 @@ such that the function is well-typed: `∃ T: (T: Debug) and well_typed(foo)`.
237
237
238
238
## What is a de Bruijn Index?
239
239
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 ] .
244
244
245
245
[ wikideb ] : https://en.wikipedia.org/wiki/De_Bruijn_index
246
246
[ sub ] : ../generics.md
247
247
248
248
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! ):
250
250
251
251
``` rust,ignore
252
252
|x| {
You can’t perform that action at this time.
0 commit comments