We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SubstRef
SubstsRef
1 parent e7fdb91 commit f9d24b3Copy full SHA for f9d24b3
src/generics.md
@@ -126,7 +126,7 @@ You may have a couple of followup questions…
126
127
**`subst`** How do we actually do the substitutions? There is a function for that too! You use
128
[`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.
+replace a `SubstsRef` with another list of types.
130
131
[Here is an example of actually using `subst` in the compiler][substex]. The exact details are not
132
too important, but in this piece of code, we happen to be converting from the `rustc_hir::Ty` to
0 commit comments