mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix minor typo in lint docstring.
It checks for public, not private fields.
This commit is contained in:
parent
95269bba39
commit
8b3247d22c
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ declare_lint!(PRIVATIZE, Deny,
|
|||
/// Lint for keeping DOM fields private
|
||||
///
|
||||
/// This lint (disable with `-A privatize`/`#[allow(privatize)]`) ensures all types marked with `#[privatize]`
|
||||
/// have no private fields
|
||||
/// have no public fields
|
||||
pub struct PrivatizePass;
|
||||
|
||||
impl LintPass for PrivatizePass {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue