Skip to content

Commit

Permalink
remove stray word (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang authored Aug 27, 2023
1 parent 17fba0e commit 2c22cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 2c22cee

Please sign in to comment.