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:
bors-servo 2015-08-07 08:10:07 -06:00
commit 96cb8261e6

View file

@ -13,7 +13,7 @@ declare_lint!(PRIVATIZE, Deny,
/// Lint for keeping DOM fields private /// Lint for keeping DOM fields private
/// ///
/// This lint (disable with `-A privatize`/`#[allow(privatize)]`) ensures all types marked with `#[privatize]` /// 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; pub struct PrivatizePass;
impl LintPass for PrivatizePass { impl LintPass for PrivatizePass {