Skip to content

Commit 1dc09a1

Browse files
committed
template: Update how to format source code with ./util/dev
1 parent b041511 commit 1dc09a1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/PULL_REQUEST_TEMPLATE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ checked during review or continuous integration.
1818
- [ ] `cargo test` passes locally
1919
- [ ] Executed `util/dev update_lints`
2020
- [ ] Added lint documentation
21-
- [ ] Run `cargo fmt`
21+
- [ ] Run `./util/dev fmt`
22+
23+
[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints
2224

2325
Note that you can skip the above if you are just opening a WIP PR in
2426
order to get feedback.

doc/adding_lints.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ output in the `stdout` part.
368368

369369
Before submitting your PR make sure you followed all of the basic requirements:
370370

371+
<!-- Sync this with `.github/PULL_REQUEST_TEMPLATE` -->
372+
371373
- [ ] Followed [lint naming conventions][lint_naming]
372374
- [ ] Added passing UI tests (including committed `.stderr` file)
373375
- [ ] `cargo test` passes locally

0 commit comments

Comments
 (0)