We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17fba0e commit 2c22ceeCopy full SHA for 2c22cee
src/generics.md
@@ -126,7 +126,7 @@ You may have a couple of followup questions…
126
definition. For example, `tcx.type_of(def_id_of_my_struct)` would return the “self-view” of
127
`MyStruct`: `Adt(Foo, &[Param(0), Param(1)])`.
128
129
-**`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
130
use [`instantiate`] to replace a `GenericArgsRef` with another list of types.
131
132
[Here is an example of actually using `instantiate` in the compiler][instantiatex].
0 commit comments