Merge pull request #239 from JohnTitor/fix-intra-links

Fix link for `[T]`
pull/241/head
Eric Huss 4 years ago committed by GitHub
commit 9addcf796d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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