diff options
| author | Boris Egorov <egorov@linux.com> | 2015-12-02 10:47:53 +0600 |
|---|---|---|
| committer | Boris Egorov <egorov@linux.com> | 2015-12-02 10:47:53 +0600 |
| commit | 63bb3e66ee559d7e02f877a05a6bc54c9a5ab0d5 (patch) | |
| tree | 01b016d3c380d552003849185713405a535c9558 | |
| parent | 2f95de3b3b99954f48f189bcca195eb43c67844e (diff) | |
| download | rust-63bb3e66ee559d7e02f877a05a6bc54c9a5ab0d5.tar.gz rust-63bb3e66ee559d7e02f877a05a6bc54c9a5ab0d5.zip | |
book: Provide link to tuple structs in type aliases chapter
| -rw-r--r-- | src/doc/book/type-aliases.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/book/type-aliases.md b/src/doc/book/type-aliases.md index d175da35f5e..def2e31f351 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: |
