about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-05-10 12:35:40 +0200
committerTshepang Mbambo <tshepang@gmail.com>2025-05-10 12:35:40 +0200
commit2efa4e61153fca183d2098fecf6342e0a81f4559 (patch)
treed169b78f05b4aada9ab08361267c4f345cf2b385
parent9f07c1ef93142e7fe8ffd1fdd7b458163f3d5623 (diff)
downloadrust-2efa4e61153fca183d2098fecf6342e0a81f4559.tar.gz
rust-2efa4e61153fca183d2098fecf6342e0a81f4559.zip
sembr
-rw-r--r--src/doc/rustc-dev-guide/src/ty-fold.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/ty-fold.md b/src/doc/rustc-dev-guide/src/ty-fold.md
index f659612e816..d413e5038ce 100644
--- a/src/doc/rustc-dev-guide/src/ty-fold.md
+++ b/src/doc/rustc-dev-guide/src/ty-fold.md
@@ -1,8 +1,10 @@
 # `TypeFoldable` and `TypeFolder`
 
-In [a previous chapter], we discussed instantiating binders. This involves looking at everything inside of a `Early(Binder)`
-to find any usages of the bound vars in order to replace them. Binders can wrap an arbitrary Rust type `T`, not just a `Ty`. So,
-how do we implement the `instantiate` methods on the `Early/Binder` types.
+In [a previous chapter], we discussed instantiating binders.
+This involves looking at everything inside of a `Early(Binder)`
+to find any usages of the bound vars in order to replace them.
+Binders can wrap an arbitrary Rust type `T`, not just a `Ty`.
+So, how do we implement the `instantiate` methods on the `Early/Binder` types.
 
 The answer is a couple of traits:
 [`TypeFoldable`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/fold/trait.TypeFoldable.html)