From 5f6b791e626b1a012665b917cb9173ceaf5f4bcc Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 1 May 2015 21:19:46 +0200 Subject: [PATCH] Add a Reflectable bound to Trusted's type parameter. --- components/script/dom/bindings/refcounted.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/bindings/refcounted.rs b/components/script/dom/bindings/refcounted.rs index 8a626ac6b67..204ef93e023 100644 --- a/components/script/dom/bindings/refcounted.rs +++ b/components/script/dom/bindings/refcounted.rs @@ -47,7 +47,7 @@ unsafe impl Send for TrustedReference {} /// shared among tasks for use in asynchronous operations. The underlying /// DOM object is guaranteed to live at least as long as the last outstanding /// `Trusted` instance. -pub struct Trusted { +pub struct Trusted { /// A pointer to the Rust DOM object of type T, but void to allow /// sending `Trusted` between tasks, regardless of T's sendability. ptr: *const libc::c_void,