Skip to content

Commit 01bd93d

Browse files
committed
Auto merge of #30161 - JIghtuse:master, r=steveklabnik
2 parents 88397e0 + 63bb3e6 commit 01bd93d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/book/type-aliases.md

+3-1
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)