Skip to content

Commit dd60abc

Browse files
committed
Rollup merge of rust-lang#25410 - durka:patch-2, r=steveklabnik
2 parents 765a55e + c147ac4 commit dd60abc

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/doc/trpl/enums.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ equality yet, but we’ll find out in the [`traits`][traits] section.
6666

6767
[match]: match.html
6868
[if-let]: if-let.html
69+
[traits]: traits.html

src/doc/trpl/match.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ Unlike the previous uses of `match`, you can’t use the normal `if`
9797
statement to do this. You can use the [`if let`][if-let] statement,
9898
which can be seen as an abbreviated form of `match`.
9999

100-
[if-let][if-let.html]
100+
[if-let]: if-let.html

src/doc/trpl/structs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,5 @@ useful. For instance, a library may ask you to create a structure that
196196
implements a certain [trait][trait] to handle events. If you don’t have
197197
any data you need to store in the structure, you can just create a
198198
unit-like struct.
199+
200+
[trait]: traits.html

0 commit comments

Comments
 (0)