diff options
author | Georg Brandl <georg@python.org> | 2015-08-05 20:00:39 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-08-05 20:00:39 +0200 |
commit | 8b3247d22ce09219f620b2812c1214f5ed2f0b7f (patch) | |
tree | f9f3d7ac4fc9582f3e01224ea0d23c8efd756b8c /components/plugins/lints/privatize.rs | |
parent | 95269bba39313e7a221947a6b20fecc92e87a201 (diff) | |
download | servo-8b3247d22ce09219f620b2812c1214f5ed2f0b7f.tar.gz servo-8b3247d22ce09219f620b2812c1214f5ed2f0b7f.zip |
Fix minor typo in lint docstring.
It checks for public, not private fields.
Diffstat (limited to 'components/plugins/lints/privatize.rs')
-rw-r--r-- | components/plugins/lints/privatize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/plugins/lints/privatize.rs b/components/plugins/lints/privatize.rs index cc20b286453..3a96b1873dd 100644 --- a/components/plugins/lints/privatize.rs +++ b/components/plugins/lints/privatize.rs @@ -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 { |