diff options
| author | bors <bors@rust-lang.org> | 2015-12-02 15:06:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-02 15:06:37 +0000 |
| commit | 01bd93d3109227addb49284ceba0935a6acfff3c (patch) | |
| tree | 0093439d117cc6b4896f4108ff76ec966f3321a9 | |
| parent | 88397e092e01b6043b6f65772710dfe0e59056c5 (diff) | |
| parent | 63bb3e66ee559d7e02f877a05a6bc54c9a5ab0d5 (diff) | |
| download | rust-01bd93d3109227addb49284ceba0935a6acfff3c.tar.gz rust-01bd93d3109227addb49284ceba0935a6acfff3c.zip | |
Auto merge of #30161 - JIghtuse:master, r=steveklabnik
| -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: |
