Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 72c93f9

Browse files
authored
remove stray word (rust-lang#1773)
1 parent e27c176 commit 72c93f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc-dev-guide/src/generics.md

Lines changed: 1 addition & 1 deletion
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)