Skip to content

Commit e6d12af

Browse files
fix heading level (#2117)
fix heading level
2 parents 7b23a00 + 70a8251 commit e6d12af

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/appendix-04-useful-development-tools.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Appendix D - Useful Development Tools
1+
## Appendix D - Useful Development Tools
22

33
In this appendix, we talk about some useful development tools that the Rust
44
project provides. We’ll look at automatic formatting, quick ways to apply
55
warning fixes, a linter, and integrating with IDEs.
66

7-
## Automatic Formatting with `rustfmt`
7+
### Automatic Formatting with `rustfmt`
88

99
The `rustfmt` tool reformats your code according to the community code style.
1010
Many collaborative projects use `rustfmt` to prevent arguments about which
@@ -29,7 +29,7 @@ on `rustfmt`, see [its documentation][rustfmt].
2929

3030
[rustfmt]: https://github.com/rust-lang/rustfmt
3131

32-
## Fix Your Code with `rustfix`
32+
### Fix Your Code with `rustfix`
3333

3434
The rustfix tool is included with Rust installations and can automatically fix
3535
some compiler warnings. If you’ve written code in Rust, you’ve probably seen
@@ -96,7 +96,7 @@ The `for` loop variable is now named `_i`, and the warning no longer appears.
9696
You can also use the `cargo fix` command to transition your code between
9797
different Rust editions. Editions are covered in Appendix E.
9898

99-
## More Lints with Clippy
99+
### More Lints with Clippy
100100

101101
The Clippy tool is a collection of lints to analyze your code so you can catch
102102
common mistakes and improve your Rust code.
@@ -158,7 +158,7 @@ For more information on Clippy, see [its documentation][clippy].
158158

159159
[clippy]: https://github.com/rust-lang/rust-clippy
160160

161-
## IDE Integration Using the Rust Language Server
161+
### IDE Integration Using the Rust Language Server
162162

163163
To help IDE integration, the Rust project distributes the *Rust Language
164164
Server* (`rls`). This tool speaks the [Language Server

src/appendix-05-editions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Appendix E - Editions
1+
## Appendix E - Editions
22

33
In Chapter 1, you saw that `cargo new` adds a bit of metadata to your
44
*Cargo.toml* file about an edition. This appendix talks about what that means!

src/appendix-07-nightly-rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Appendix G - How Rust is Made and “Nightly Rust”
1+
## Appendix G - How Rust is Made and “Nightly Rust”
22

33
This appendix is about how Rust is made and how that affects you as a Rust
44
developer.

0 commit comments

Comments
 (0)