aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-07-01 18:27:40 -0600
committerbors-servo <metajack+bors@gmail.com>2015-07-01 18:27:40 -0600
commitbbb39082e0f640400546d2084a450a8675820a82 (patch)
treef531bb4d70d8eb6a1080d9711c29587c883bf0ce /components/script/dom/bindings/utils.rs
parentfc1e427ff9bb0e9891053ec1eba292530ebbe91a (diff)
parent4cf46bff2d00f33a8866dc6880c8f6178fdf81a4 (diff)
downloadservo-bbb39082e0f640400546d2084a450a8675820a82.tar.gz
servo-bbb39082e0f640400546d2084a450a8675820a82.zip
Auto merge of #6529 - dwins:master, r=Manishearth
Refactor #[jstraceable] to #[derive(JSTraceable)] fixes #6524. I had to make an additional change not mentioned in the ticket - adding the `#[feature]` to enable deriving custom traits but I assume that's expected at this time. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6529) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r--components/script/dom/bindings/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs
index 9e5931c2740..ed20587a206 100644
--- a/components/script/dom/bindings/utils.rs
+++ b/components/script/dom/bindings/utils.rs
@@ -64,7 +64,7 @@ use string_cache::{Atom, Namespace};
pub struct WindowProxyHandler(pub *const libc::c_void);
#[allow(raw_pointer_derive)]
-#[jstraceable]
+#[derive(JSTraceable)]
/// Static data associated with a global object.
pub struct GlobalStaticData {
/// The WindowProxy proxy handler for this global.