Skip to content

Commit 9c74aff

Browse files
authored
Add link to "Lint passes"
1 parent e51b2f9 commit 9c74aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/src/development/defining_lints.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ $ cargo dev new_lint --name=foo_functions --pass=late --category=pedantic
3434
There are two things to note here:
3535

3636
1. We set `--pass=late` in this command to do a late lint pass. The alternative
37-
is an `early` lint pass. We will discuss this difference in a later chapter.
38-
<!-- FIXME: Link that "later chapter" when lint_passes.md is merged -->
37+
is an `early` lint pass. The difference is discussed in the chapter [Lint Passes](adding_lints.md#lint-passes).
38+
<!-- FIXME: Change that lint to the Lint Passes chapter when that gets merged -->
3939
2. If not provided, the `category` of this new lint will default to `nursery`.
4040
See Clippy's [lint types](../lints.md) for more information on categories.
4141

0 commit comments

Comments
 (0)