Skip to content

Commit 0a36090

Browse files
committed
Moved "See also" link to the correct page.
The "8.5.1.3. pointers/ref" code example contains multiple usages of the ref pattern, however no link to it is included in the "See also" section at the end of the page (the section is missing). In the next page, "8.5.1.4. structs", the code example contains no usage of the ref pattern, however its "See also" section contains a link to it. This commit moves the ref pattern link to the previous page: "8.5.1.3. pointers/ref" to remedy the problem.
1 parent 54da832 commit 0a36090

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/flow_control/match/destructuring/destructure_pointers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,7 @@ fn main() {
5959
}
6060
}
6161
```
62+
63+
### See also:
64+
65+
[The ref pattern](../../../scope/borrow/ref.md)

src/flow_control/match/destructuring/destructure_structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ fn main() {
2929

3030
### See also:
3131

32-
[Structs](../../../custom_types/structs.md), [The ref pattern](../../../scope/borrow/ref.md)
32+
[Structs](../../../custom_types/structs.md)

0 commit comments

Comments
 (0)