servo: Merge #7007 - Fix minor typo in lint docstring (from birkenfeld:patch-1); r=Ms2ger

It checks for public, not private fields.

Source-Repo: https://github.com/servo/servo
Source-Revision: 96cb8261e648e2a9bda46263430665e2aedf2eae
This commit is contained in:
Georg Brandl 2015-08-07 08:10:07 -06:00
parent 76df875017
commit d729f005dd

View File

@ -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 {