Fix link for `[T]`

pull/239/head
Yuki Okushi 4 years ago
parent c2ffc216d5
commit f8b9921a77

@ -20,7 +20,7 @@ information that "completes" them (more on this below).
There are two major DSTs exposed by the language: There are two major DSTs exposed by the language:
* trait objects: `dyn MyTrait` * trait objects: `dyn MyTrait`
* slices: [`[T]`], [`str`], and others * slices: [`[T]`][slice], [`str`], and others
A trait object represents some type that implements the traits it specifies. A trait object represents some type that implements the traits it specifies.
The exact original type is *erased* in favor of runtime reflection The exact original type is *erased* in favor of runtime reflection
@ -195,4 +195,4 @@ should behave.
[dst-issue]: https://github.com/rust-lang/rust/issues/26403 [dst-issue]: https://github.com/rust-lang/rust/issues/26403
[extern-types]: https://github.com/rust-lang/rfcs/blob/master/text/1861-extern-types.md [extern-types]: https://github.com/rust-lang/rfcs/blob/master/text/1861-extern-types.md
[`str`]: ../std/primitive.str.html [`str`]: ../std/primitive.str.html
[`[T]`]: ../std/primitive.slice.html [slice]: ../std/primitive.slice.html

Loading…
Cancel
Save