Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix link for [T] #239

Merged
merged 1 commit into from
Oct 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/exotic-sizes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ information that "completes" them (more on this below).
There are two major DSTs exposed by the language:

* 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.
The exact original type is *erased* in favor of runtime reflection
Expand Down Expand Up @@ -195,4 +195,4 @@ should behave.
[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
[`str`]: ../std/primitive.str.html
[`[T]`]: ../std/primitive.slice.html
[slice]: ../std/primitive.slice.html