aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/callback.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-07-04 11:56:55 +0200
committerMs2ger <ms2ger@gmail.com>2014-07-04 11:57:35 +0200
commit11aa36619d119a7a462b50b91083d43169905fba (patch)
treee7697b9cc5b00d51277e42099efb5cd4a5dc95fc /src/components/script/dom/bindings/callback.rs
parentcfa9aaac081a5c33b5b31b82ef578c1c26e253b0 (diff)
downloadservo-11aa36619d119a7a462b50b91083d43169905fba.tar.gz
servo-11aa36619d119a7a462b50b91083d43169905fba.zip
Mark some unused fields.
Diffstat (limited to 'src/components/script/dom/bindings/callback.rs')
-rw-r--r--src/components/script/dom/bindings/callback.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/bindings/callback.rs b/src/components/script/dom/bindings/callback.rs
index 7a261bf7cc7..8b0c1879dd3 100644
--- a/src/components/script/dom/bindings/callback.rs
+++ b/src/components/script/dom/bindings/callback.rs
@@ -109,7 +109,7 @@ pub fn WrapCallThisObject<T: Reflectable>(cx: *mut JSContext,
pub struct CallSetup {
cx: *mut JSContext,
- handling: ExceptionHandling
+ _handling: ExceptionHandling
}
impl CallSetup {
@@ -118,7 +118,7 @@ impl CallSetup {
let cx = win.deref().get_cx();
CallSetup {
cx: cx,
- handling: handling
+ _handling: handling
}
}