From 28bc315a20adf140aa856920e0413ba1fe54f481 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 ffb07e5f..e8060718 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`], [`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 +[`T`]: ../std/primitive.slice.html