From dc6eb7839c8b35c997e95b2b94fbf22f9eda9c4c Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Thu, 14 May 2015 14:20:24 -0400 Subject: [PATCH 1/3] trpl: fix link from Structs to Traits --- src/doc/trpl/structs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doc/trpl/structs.md b/src/doc/trpl/structs.md index ad7ead9319989..5729aeefbac9c 100644 --- a/src/doc/trpl/structs.md +++ b/src/doc/trpl/structs.md @@ -196,3 +196,5 @@ useful. For instance, a library may ask you to create a structure that implements a certain [trait][trait] to handle events. If you don’t have any data you need to store in the structure, you can just create a unit-like struct. + +[trait]: traits.html From 66c0fe0d3ddec86f7179cb853a8245fe0a34ae8c Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Thu, 14 May 2015 14:35:46 -0400 Subject: [PATCH 2/3] trpl: fix link from Enums to Traits --- src/doc/trpl/enums.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/trpl/enums.md b/src/doc/trpl/enums.md index ad15d19eae143..55de363280026 100644 --- a/src/doc/trpl/enums.md +++ b/src/doc/trpl/enums.md @@ -66,3 +66,4 @@ equality yet, but we’ll find out in the [`traits`][traits] section. [match]: match.html [if-let]: if-let.html +[traits]: traits.html From c147ac42ca81300c545437fb62746378738d7a2d Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Thu, 14 May 2015 14:43:50 -0400 Subject: [PATCH 3/3] trpl: fix link from Match to If Let --- src/doc/trpl/match.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/match.md b/src/doc/trpl/match.md index 2bb2359ba5a01..113e218883b34 100644 --- a/src/doc/trpl/match.md +++ b/src/doc/trpl/match.md @@ -97,4 +97,4 @@ Unlike the previous uses of `match`, you can’t use the normal `if` statement to do this. You can use the [`if let`][if-let] statement, which can be seen as an abbreviated form of `match`. -[if-let][if-let.html] +[if-let]: if-let.html