Skip to content

Commit 26119db

Browse files
committed
Fix link for T
1 parent c2ffc21 commit 26119db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/exotic-sizes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ information that "completes" them (more on this below).
2020
There are two major DSTs exposed by the language:
2121

2222
* trait objects: `dyn MyTrait`
23-
* slices: [`[T]`], [`str`], and others
23+
* slices: [`[T]`][slice], [`str`], and others
2424

2525
A trait object represents some type that implements the traits it specifies.
2626
The exact original type is *erased* in favor of runtime reflection
@@ -195,4 +195,4 @@ should behave.
195195
[dst-issue]: https://github.com/rust-lang/rust/issues/26403
196196
[extern-types]: https://github.com/rust-lang/rfcs/blob/master/text/1861-extern-types.md
197197
[`str`]: ../std/primitive.str.html
198-
[`[T]`]: ../std/primitive.slice.html
198+
[slice]: ../std/primitive.slice.html

0 commit comments

Comments
 (0)