Remove duplicate paragraph (#1523)

This commit is contained in:
Anirudh S 2022-12-04 04:39:24 +05:30 committed by GitHub
parent a7cd86425d
commit e269950a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -14,11 +14,6 @@ There are two parts to the linting mechanism within the compiler: lints and
lint passes. Unfortunately, a lot of the documentation we have refers to both lint passes. Unfortunately, a lot of the documentation we have refers to both
of these as just "lints." of these as just "lints."
First, we have the lint declarations themselves: this is where the name and
default lint level and other metadata come from. These are normally defined by
way of the [`declare_lint!`] macro, which boils down to a static with type
[`&rustc_lint_defs::Lint`].
First, we have the lint declarations themselves, First, we have the lint declarations themselves,
and this is where the name and default lint level and other metadata come from. and this is where the name and default lint level and other metadata come from.
These are normally defined by way of the [`declare_lint!`] macro, These are normally defined by way of the [`declare_lint!`] macro,