Skip to content

Commit

Permalink
style-guide: Fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtriplett committed Sep 24, 2022
1 parent 283c0e4 commit 9a72a66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/doc/style-guide/src/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ This section covers `if`, `if let`, `loop`, `while`, `while let`, and `for`
expressions.

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

If there is an `else` component, then the closing brace, `else`, any following
Expand Down
2 changes: 1 addition & 1 deletion src/doc/style-guide/src/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ enum FooBar {
}
```

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

Expand Down

0 comments on commit 9a72a66

Please sign in to comment.