mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
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:
parent
76df875017
commit
d729f005dd
@ -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…
Reference in New Issue
Block a user