Skip to content

Commit 2c22cee

Browse files
authored
remove stray word (#1773)
1 parent 17fba0e commit 2c22cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/generics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ You may have a couple of followup questions…
126126
definition. For example, `tcx.type_of(def_id_of_my_struct)` would return the “self-view” of
127127
`MyStruct`: `Adt(Foo, &[Param(0), Param(1)])`.
128128

129-
**`instantiate`** How do we actually do the substitutions? There is a function for that too! You
129+
How do we actually do the substitutions? There is a function for that too! You
130130
use [`instantiate`] to replace a `GenericArgsRef` with another list of types.
131131

132132
[Here is an example of actually using `instantiate` in the compiler][instantiatex].

0 commit comments

Comments
 (0)