Skip to content

Commit 63bb3e6

Browse files
committed
book: Provide link to tuple structs in type aliases chapter
1 parent 2f95de3 commit 63bb3e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/book/type-aliases.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ if x == y {
5353
```
5454

5555
This compiles without error. Values of a `Num` type are the same as a value of
56-
type `i32`, in every way.
56+
type `i32`, in every way. You can use [tuple struct] to really get a new type.
57+
58+
[tuple struct]: structs.html#tuple-structs
5759

5860
You can also use type aliases with generics:
5961

0 commit comments

Comments
 (0)