@@ -39,7 +39,7 @@ sites are:
39
39
```
40
40
41
41
For method calls, the receiver (` self ` parameter) can only take advantage
42
- of [ unsized coercions] ( #unsafe -coercions ) .
42
+ of [ unsized coercions] ( #unsized -coercions ) .
43
43
44
44
* Instantiations of struct or variant fields
45
45
@@ -140,7 +140,7 @@ Coercion is allowed between the following types:
140
140
- ` *mut T `
141
141
- ` Box<T> `
142
142
143
- and where ` T ` can obtained from ` U ` by [ unsized coercion] ( #unsized-coercion ) .
143
+ and where ` T ` can obtained from ` U ` by [ unsized coercion] ( #unsized-coercions ) .
144
144
145
145
<!-- In the future, coerce_inner will be recursively extended to tuples and
146
146
structs. In addition, coercions from sub-traits to super-traits will be
@@ -155,7 +155,7 @@ relate to converting sized types to unsized types, and are permitted in a few
155
155
cases where other coercions are not, as described above. They can still happen
156
156
anywhere else a coercion can occur.
157
157
158
- Two traits, [ ` Unsize ` ] ( Unsize ) and [ ` CoerceUnsized ` ] ( CoerceUnsized ) , are used
158
+ Two traits, [ ` Unsize ` ] and [ ` CoerceUnsized ` ] , are used
159
159
to assist in this process and expose it for library use. The compiler following
160
160
coercions are built-in and, if ` T ` can be coerced to ` U ` with one of the, then
161
161
the compiler will provide an implementation of ` Unsize<U> ` for ` T ` :
0 commit comments