Merge pull request #1431 from madsmtm/fix-self-coercion-note

Fix note on `self` coercion
This commit is contained in:
matthewjasper 2023-12-04 09:45:06 +00:00 committed by GitHub
commit 692d216f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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