aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-11-06 02:30:12 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-11-06 06:37:44 +0530
commit52983ed97cb76691c09efe807b449f70a0cc0a7b (patch)
treec01439ee1f49f132af3270c69e0fc0221dd168a9 /components/plugins/lints.rs
parent4a8af307d19d97d507a4059fc527bbd7133f4dd9 (diff)
downloadservo-52983ed97cb76691c09efe807b449f70a0cc0a7b.tar.gz
servo-52983ed97cb76691c09efe807b449f70a0cc0a7b.zip
Silence lint for self.global in XHR
Diffstat (limited to 'components/plugins/lints.rs')
-rw-r--r--components/plugins/lints.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/plugins/lints.rs b/components/plugins/lints.rs
index 61394651b1f..aa374cde1d9 100644
--- a/components/plugins/lints.rs
+++ b/components/plugins/lints.rs
@@ -160,7 +160,7 @@ impl LintPass for UnrootedPass {
ast::ExprAssign(_, ref e) |
// Match statements allow you to bind onto the variable later in an arm
// We need not check arms individually since enum/struct fields are already
- // linted in `check_struct_def` and `check_variant `
+ // linted in `check_struct_def` and `check_variant`
// (so there is no way of destructuring out a `#[must_root]` field)
ast::ExprMatch(ref e, _) |
// For loops allow you to bind a return value locally