Skip to content

Commit ac4f927

Browse files
Update src/diagnostics.md
Co-Authored-By: Niko Matsakis <[email protected]>
1 parent 54d581b commit ac4f927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ crate.
174174
Every lint is implemented via a `struct` that implements the `LintPass` `trait`
175175
(you also implement one of the more specific lint pass traits, either
176176
`EarlyLintPass` or `LateLintPass`). The trait implementation allows you to
177-
check certain syntactic constructs the linter walks the source code. You can
177+
check certain syntactic constructs as the linter walks the source code. You can
178178
then choose to emit lints in a very similar way to compile errors.
179179

180180
You also declare the metadata of a particular lint via the `declare_lint!`

0 commit comments

Comments
 (0)