reword Self parameter bullet point

This commit is contained in:
Boxy
2026-03-30 11:20:31 +01:00
committed by GitHub
parent 6eb9ff60bd
commit 4ffd0b5d2b
@@ -149,7 +149,7 @@ gets flattened down to a list, and lets you figure out which index in the `Gener
generic. The general theme of how it works is outermost to innermost (`T` before `T2` in the example), left to right
(`T2` before `T3`), but there are several complications:
- `Self` is sometimes a generic parameter, and should sometimes be included in the list.
- Traits have an implicit `Self` generic parameter which is the first (i.e. 0th) generic parameter. Note that `Self` doesn't mean a generic parameter in all situations, see [Res::SelfTyAlias](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def/enum.Res.html#variant.SelfTyAlias) and [Res::SelfCtor](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def/enum.Res.html#variant.SelfCtor).
- Only early-bound generic parameters are included, [late-bound generics] are not.
- ... and more...