From 63bb3e66ee559d7e02f877a05a6bc54c9a5ab0d5 Mon Sep 17 00:00:00 2001 From: Boris Egorov Date: Wed, 2 Dec 2015 10:47:53 +0600 Subject: [PATCH] book: Provide link to tuple structs in type aliases chapter --- src/doc/book/type-aliases.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/book/type-aliases.md b/src/doc/book/type-aliases.md index d175da35f5ec9..def2e31f3514b 100644 --- a/src/doc/book/type-aliases.md +++ b/src/doc/book/type-aliases.md @@ -53,7 +53,9 @@ if x == y { ``` This compiles without error. Values of a `Num` type are the same as a value of -type `i32`, in every way. +type `i32`, in every way. You can use [tuple struct] to really get a new type. + +[tuple struct]: structs.html#tuple-structs You can also use type aliases with generics: