style-guide: Make link text in SUMMARY.md match the headings in the linked pages

This commit is contained in:
Josh Triplett 2023-06-22 14:02:22 -07:00
parent a9d1db3145
commit 5d637219e4
3 changed files with 7 additions and 5 deletions

View File

@ -2,10 +2,10 @@
[Introduction](README.md)
- [Module-level items](items.md)
- [Items](items.md)
- [Statements](statements.md)
- [Expressions](expressions.md)
- [Types](types.md)
- [Non-formatting conventions](advice.md)
- [Types and Bounds](types.md)
- [Other style advice](advice.md)
- [`Cargo.toml` conventions](cargo.md)
- [Principles used for deciding these guidelines](principles.md)
- [Guiding principles and rationale](principles.md)

View File

@ -1,4 +1,4 @@
# Cargo.toml conventions
# `Cargo.toml` conventions
## Formatting conventions

View File

@ -1,3 +1,5 @@
## Statements
### Let statements
There should be spaces after the `:` and on both sides of the `=` (if they are