diff options
| author | Waffle Lapkin <waffle.lapkin@gmail.com> | 2021-04-09 00:21:22 +0300 |
|---|---|---|
| committer | Joshua Nelson <joshua@yottadb.com> | 2021-04-08 17:29:13 -0400 |
| commit | b4fccbc47a911dffc4392be018120b616286dee0 (patch) | |
| tree | db38e62e2495c6b4d32ff5cd559bad25b30357f6 /src/doc/rustc-dev-guide | |
| parent | c13d2dc3722d18513da88baaaceffec2945db06d (diff) | |
| download | rust-b4fccbc47a911dffc4392be018120b616286dee0.tar.gz rust-b4fccbc47a911dffc4392be018120b616286dee0.zip | |
fix typo
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/generics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/generics.md b/src/doc/rustc-dev-guide/src/generics.md index cdbf63b9307..c7a0be09355 100644 --- a/src/doc/rustc-dev-guide/src/generics.md +++ b/src/doc/rustc-dev-guide/src/generics.md @@ -7,7 +7,7 @@ that one type is equal to another type and want to swap one out for the other an for another type and so on until we eventually get some concrete types (or an error). In rustc this is done using the `SubstsRef` that we mentioned above (“substs” = “substitutions”). -Conceptually, you can think of `SubstsRef` of a list of types that are to be substituted for the +Conceptually, you can think of `SubstsRef` as a list of types that are to be substituted for the generic type parameters of the ADT. `SubstsRef` is a type alias of `List<GenericArg<'tcx>>` (see [`List` rustdocs][list]). |
