Skip to content

Commit 615bf00

Browse files
committed
reformat section
1 parent 71b073c commit 615bf00

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Diff for: src/diagnostics/lintstore.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,16 @@ function which is called when constructing a new lint store inside
7979

8080
### Builtin Lints
8181

82-
These are primarily described in two places: `rustc_session::lint::builtin` and
83-
`rustc_lint::builtin`. Often the first provides the definitions for the lints
84-
themselves, and the latter provides the lint pass definitions (and
85-
implementations), but this is not always true.
86-
87-
The builtin lint registration happens in the [`rustc_lint::register_builtins`]
88-
function. Just like with internal lints, this happens inside of
89-
[`rustc_lint::new_lint_store`].
82+
These are primarily described in two places,
83+
`rustc_session::lint::builtin` and `rustc_lint::builtin`.
84+
Often the first provides the definitions for the lints themselves,
85+
and the latter provides the lint pass definitions (and implementations),
86+
but this is not always true.
87+
88+
The builtin lint registration happens in
89+
the [`rustc_lint::register_builtins`] function.
90+
Just like with internal lints,
91+
this happens inside of [`rustc_lint::new_lint_store`].
9092

9193
#### Plugin lints
9294

0 commit comments

Comments
 (0)