Fix minor typo in lint docstring.

It checks for public, not private fields.
This commit is contained in:
Georg Brandl 2015-08-05 20:00:39 +02:00
parent 95269bba39
commit 8b3247d22c

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 {