remove stray word (#1773)

This commit is contained in:
Tshepang Mbambo 2023-08-27 02:50:17 +02:00 committed by GitHub
parent 24688cbfde
commit 075c46f496
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ You may have a couple of followup questions…
definition. For example, `tcx.type_of(def_id_of_my_struct)` would return the “self-view” of
`MyStruct`: `Adt(Foo, &[Param(0), Param(1)])`.
**`instantiate`** How do we actually do the substitutions? There is a function for that too! You
How do we actually do the substitutions? There is a function for that too! You
use [`instantiate`] to replace a `GenericArgsRef` with another list of types.
[Here is an example of actually using `instantiate` in the compiler][instantiatex].