Skip to content

Commit f9d24b3

Browse files
ohno418tshepang
authored andcommitted
fix typo SubstRef to SubstsRef
1 parent e7fdb91 commit f9d24b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

127127
**`subst`** How do we actually do the substitutions? There is a function for that too! You use
128128
[`subst`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/subst/struct.EarlyBinder.html#method.subst) to
129-
replace a `SubstRef` with another list of types.
129+
replace a `SubstsRef` with another list of types.
130130

131131
[Here is an example of actually using `subst` in the compiler][substex]. The exact details are not
132132
too important, but in this piece of code, we happen to be converting from the `rustc_hir::Ty` to

0 commit comments

Comments
 (0)