Fix note on `self` coercion

This commit is contained in:
Mads Marquart 2023-12-02 18:59:31 +01:00
parent 21a27e1689
commit 1b00b70382
1 changed files with 3 additions and 2 deletions

View File

@ -41,8 +41,8 @@ sites are:
}
```
For method calls, the receiver (`self` parameter) can only take advantage
of [unsized coercions](#unsized-coercions).
For method calls, the receiver (`self` parameter) type is coerced
differently, see the documentation on [method-call expressions] for details.
* Instantiations of struct, union, or enum variant fields
@ -273,3 +273,4 @@ precisely.
[type cast operator]: expressions/operator-expr.md#type-cast-expressions
[`Unsize`]: ../std/marker/trait.Unsize.html
[`CoerceUnsized`]: ../std/ops/trait.CoerceUnsized.html
[method-call expressions]: expressions/method-call-expr.md