Skip to content

Commit 9a72a66

Browse files
committed
style-guide: Fix broken links
1 parent 283c0e4 commit 9a72a66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/doc/style-guide/src/expressions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ This section covers `if`, `if let`, `loop`, `while`, `while let`, and `for`
489489
expressions.
490490

491491
The keyword, any initial clauses, and the opening brace of the block should be
492-
on a single line. The usual rules for [block formatting](#Blocks) should be
492+
on a single line. The usual rules for [block formatting](#blocks) should be
493493
applied to the block.
494494

495495
If there is an `else` component, then the closing brace, `else`, any following

src/doc/style-guide/src/items.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ enum FooBar {
7777
}
7878
```
7979

80-
If a struct variant is [*small*](#small-items), it may be formatted on
80+
If a struct variant is [*small*](index.html#small-items), it may be formatted on
8181
one line. In this case, do not use a trailing comma for the field list, but do
8282
put spaces around each brace:
8383

0 commit comments

Comments
 (0)