Skip to content

Commit 6d5d304

Browse files
Merge pull request #1431 from madsmtm/fix-self-coercion-note
Fix note on `self` coercion
2 parents 96086c3 + 8dc98ab commit 6d5d304

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/type-coercions.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ sites are:
4141
}
4242
```
4343

44-
For method calls, the receiver (`self` parameter) can only take advantage
45-
of [unsized coercions](#unsized-coercions).
44+
For method calls, the receiver (`self` parameter) type is coerced
45+
differently, see the documentation on [method-call expressions] for details.
4646

4747
* Instantiations of struct, union, or enum variant fields
4848

@@ -273,3 +273,4 @@ precisely.
273273
[type cast operator]: expressions/operator-expr.md#type-cast-expressions
274274
[`Unsize`]: ../std/marker/trait.Unsize.html
275275
[`CoerceUnsized`]: ../std/ops/trait.CoerceUnsized.html
276+
[method-call expressions]: expressions/method-call-expr.md

0 commit comments

Comments
 (0)