From f8b9921a7761010d0e550c77a64012a379ea8929 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 18 Oct 2020 00:49:47 +0900 Subject: [PATCH] Fix link for `[T]` --- src/exotic-sizes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exotic-sizes.md b/src/exotic-sizes.md index ffb07e5..7bb1112 100644 --- a/src/exotic-sizes.md +++ b/src/exotic-sizes.md @@ -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 @@ -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