Skip to content

Commit 4209521

Browse files
authored
Fixes in type-coercions.md
1 parent 83766c8 commit 4209521

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/type-coercions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Coercion is allowed between the following types:
9696
* `T_1` to `T_3` where `T_1` coerces to `T_2` and `T_2` coerces to `T_3`
9797
(*transitive case*)
9898

99-
Note that this is not fully supported yet
99+
Note that this is not fully supported yet.
100100

101101
* `&mut T` to `&T`
102102

@@ -158,8 +158,8 @@ cases where other coercions are not, as described above. They can still happen
158158
anywhere else a coercion can occur.
159159

160160
Two traits, [`Unsize`] and [`CoerceUnsized`], are used
161-
to assist in this process and expose it for library use. The compiler following
162-
coercions are built-in and, if `T` can be coerced to `U` with one of the, then
161+
to assist in this process and expose it for library use. The following
162+
coercions are compiler built-ins and, if `T` can be coerced to `U` with one of them, then
163163
the compiler will provide an implementation of `Unsize<U>` for `T`:
164164

165165
* `[T; n]` to `[T]`.
@@ -182,5 +182,5 @@ unsized coercion to `Foo<U>`.
182182
> has been stabilized, the traits themselves are not yet stable and therefore
183183
> can't be used directly in stable Rust.
184184
185-
[Unsize]: ../std/marker/trait.Unsize.html
186-
[CoerceUnsized]: ../std/ops/trait.CoerceUnsized.html
185+
[`Unsize`]: ../std/marker/trait.Unsize.html
186+
[`CoerceUnsized`]: ../std/ops/trait.CoerceUnsized.html

0 commit comments

Comments
 (0)