mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #7007 - birkenfeld:patch-1, r=Ms2ger
Fix minor typo in lint docstring. It checks for public, not private fields. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7007) <!-- Reviewable:end -->
This commit is contained in:
commit
96cb8261e6
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